summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_webview_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.h')
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h
index 03d7387..15f92f5 100644
--- a/webkit/tools/test_shell/test_webview_delegate.h
+++ b/webkit/tools/test_shell/test_webview_delegate.h
@@ -16,7 +16,7 @@
#endif
#include <map>
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_GTK)
#include <gdk/gdkcursor.h>
#endif
@@ -69,7 +69,7 @@ class TestWebViewDelegate : public base::RefCounted<TestWebViewDelegate>,
#else
, select_trailing_whitespace_enabled_(false)
#endif
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_GTK)
, cursor_type_(GDK_X_CURSOR)
#endif
{
@@ -341,7 +341,7 @@ class TestWebViewDelegate : public base::RefCounted<TestWebViewDelegate>,
scoped_refptr<TestDropDelegate> drop_delegate_;
#endif
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_GTK)
// The type of cursor the window is currently using.
// Used for judging whether a new SetCursor call is actually changing the
// cursor.