Index: media/tools/shader_bench/shader_bench.cc |
diff --git a/media/tools/shader_bench/shader_bench.cc b/media/tools/shader_bench/shader_bench.cc |
index 17210a60db6b959c4afeb9f8729cdcd1d5fb8339..948b3738372eb40eba63bd711ed68d905b882537 100644 |
--- a/media/tools/shader_bench/shader_bench.cc |
+++ b/media/tools/shader_bench/shader_bench.cc |
@@ -25,7 +25,7 @@ |
#include "ui/gfx/gl/gl_surface.h" |
#include "ui/gfx/native_widget_types.h" |
-#if defined(OS_LINUX) |
+#if defined(TOOLKIT_USES_GTK) |
#include <gtk/gtk.h> |
#endif |
@@ -98,7 +98,7 @@ int main(int argc, char** argv) { |
} |
// Read command line. |
-#if defined(OS_LINUX) |
+#if defined(TOOLKIT_USES_GTK) |
gtk_init(&argc, &argv); |
#endif |
CommandLine::Init(argc, argv); |