Index: content/plugin/plugin_thread.cc |
diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc |
index eda6c92f7319b7cd99c0e94f0cfb18d3bd0a5539..18455d217d084bc4805c802432e22e4e959e7508 100644 |
--- a/content/plugin/plugin_thread.cc |
+++ b/content/plugin/plugin_thread.cc |
@@ -6,7 +6,7 @@ |
#include "build/build_config.h" |
-#if defined(USE_X11) |
+#if defined(TOOLKIT_USES_GTK) |
#include <gtk/gtk.h> |
#elif defined(OS_MACOSX) |
#include <CoreFoundation/CoreFoundation.h> |
@@ -49,7 +49,7 @@ PluginThread::PluginThread() |
switches::kPluginPath); |
lazy_tls.Pointer()->Set(this); |
-#if defined(OS_LINUX) |
+#if defined(TOOLKIT_USES_GTK) |
{ |
// XEmbed plugins assume they are hosted in a Gtk application, so we need |
// to initialize Gtk in the plugin process. |