Index: gpu/gles2_conform_support/native/main.cc |
diff --git a/gpu/gles2_conform_support/native/main.cc b/gpu/gles2_conform_support/native/main.cc |
index 032318cf53c5b6d936eb20adca46204b1668f0f2..fd3dc7554f2a4c345a15a2e8af4f787a4ec976a1 100644 |
--- a/gpu/gles2_conform_support/native/main.cc |
+++ b/gpu/gles2_conform_support/native/main.cc |
@@ -5,9 +5,9 @@ |
#include "base/at_exit.h" |
#include "base/message_loop.h" |
-#if defined(OS_LINUX) |
+#if defined(TOOLKIT_USES_GTK) |
#include <gtk/gtk.h> |
-#endif // OS_LINUX |
+#endif |
extern "C" { |
#if defined(GLES2_CONFORM_SUPPORT_ONLY) |
@@ -18,9 +18,9 @@ extern "C" { |
} |
int main(int argc, char *argv[]) { |
-#if defined(OS_LINUX) |
+#if defined(TOOLKIT_USES_GTK) |
gtk_init(&argc, &argv); |
-#endif // OS_LINUX |
+#endif |
base::AtExitManager at_exit; |
MessageLoopForUI message_loop; |