--- webkit/tools/test_shell/test_webview_delegate.h +++ webkit/tools/test_shell/test_webview_delegate.h @@ -17,7 +17,7 @@ #include -#if defined(OS_LINUX) +#if defined(USE_X11) #include #endif @@ -340,7 +340,7 @@ class TestWebViewDelegate : public WebKit::WebViewClient, scoped_refptr drop_delegate_; #endif -#if defined(OS_LINUX) +#if defined(USE_X11) // The type of cursor the window is currently using. // Used for judging whether a new SetCursor call is actually changing the // cursor. diff --git webkit/tools/test_shell/webview_host.h webkit/tools/test_shell/webview_host.h index f9fd21a..021ed20 100644