summaryrefslogtreecommitdiffstats
path: root/content/plugin/plugin_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/plugin/plugin_thread.cc')
-rw-r--r--content/plugin/plugin_thread.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc
index eda6c92..18455d2 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.