Skip to content

Instantly share code, notes, and snippets.

@lahwaacz
Created October 18, 2017 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lahwaacz/faaccdd0988be2ca25fd7c816e3794f1 to your computer and use it in GitHub Desktop.
Save lahwaacz/faaccdd0988be2ca25fd7c816e3794f1 to your computer and use it in GitHub Desktop.
Fix to build Chromium 62 with GTK2
diff --git a/chrome/browser/ui/libgtkui/gtk_ui.h.orig b/chrome/browser/ui/libgtkui/gtk_ui.h
index 3048cf8..767f07e 100644
--- a/chrome/browser/ui/libgtkui/gtk_ui.h.orig
+++ b/chrome/browser/ui/libgtkui/gtk_ui.h
@@ -17,6 +17,7 @@
#include "ui/gfx/color_utils.h"
#include "ui/views/linux_ui/linux_ui.h"
#include "ui/views/window/frame_buttons.h"
+#include "nav_button_layout_manager.h"
typedef struct _GParamSpec GParamSpec;
typedef struct _GtkStyle GtkStyle;
@@ -25,7 +26,6 @@ typedef struct _GtkWidget GtkWidget;
namespace libgtkui {
class Gtk2KeyBindingsHandler;
class DeviceScaleFactorObserver;
-class NavButtonLayoutManager;
// Interface to GTK2 desktop features.
//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment