Index: ui/gfx/insets.h |
diff --git a/ui/gfx/insets.h b/ui/gfx/insets.h |
index ec9c54a8f0e908e7ff8ecd94258ca42e914c12ee..56f79b4e971d07fa1d506336e87e8b426d765f9b 100644 |
--- a/ui/gfx/insets.h |
+++ b/ui/gfx/insets.h |
@@ -11,7 +11,7 @@ |
#include "build/build_config.h" |
#include "ui/base/ui_export.h" |
-#if defined(OS_POSIX) && !defined(OS_MACOSX) |
+#if defined(TOOLKIT_USES_GTK) |
#include <gtk/gtkstyle.h> |
#endif |
@@ -30,7 +30,7 @@ class UI_EXPORT Insets { |
left_(left), |
bottom_(bottom), |
right_(right) {} |
-#if defined(OS_POSIX) && !defined(OS_MACOSX) |
+#if defined(TOOLKIT_USES_GTK) |
explicit Insets(const GtkBorder& border) |
: top_(border.top), |
left_(border.left), |