summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/webplugin_delegate_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/webplugin_delegate_impl.h')
-rw-r--r--webkit/glue/plugins/webplugin_delegate_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/plugins/webplugin_delegate_impl.h b/webkit/glue/plugins/webplugin_delegate_impl.h
index 56d5b6e..6d53339 100644
--- a/webkit/glue/plugins/webplugin_delegate_impl.h
+++ b/webkit/glue/plugins/webplugin_delegate_impl.h
@@ -19,7 +19,7 @@
#include "webkit/glue/webcursor.h"
#include "webkit/glue/webplugin_delegate.h"
-#if defined(OS_LINUX)
+#if defined(USE_X11)
typedef struct _GdkDrawable GdkPixmap;
#endif
@@ -217,7 +217,7 @@ class WebPluginDelegateImpl : public webkit_glue::WebPluginDelegate {
bool is_calling_wndproc;
#endif // OS_WIN
-#if defined(OS_LINUX)
+#if defined(USE_X11)
// The pixmap we're drawing into, for a windowless plugin.
GdkPixmap* pixmap_;
double first_event_time_;
@@ -298,7 +298,7 @@ class WebPluginDelegateImpl : public webkit_glue::WebPluginDelegate {
// Runnable Method Factory used to invoke the OnUserGestureEnd method
// asynchronously.
-#if !defined(OS_LINUX)
+#if !defined(USE_X11)
ScopedRunnableMethodFactory<WebPluginDelegateImpl> user_gesture_msg_factory_;
#endif