Index: webkit/glue/plugins/test/plugin_javascript_open_popup.cc |
diff --git a/webkit/glue/plugins/test/plugin_javascript_open_popup.cc b/webkit/glue/plugins/test/plugin_javascript_open_popup.cc |
index 558aa71c90112872d5fdb6fe6d83526230f5b562..0d3f0c096a333866ff505682db28e16c1b341645 100644 |
--- a/webkit/glue/plugins/test/plugin_javascript_open_popup.cc |
+++ b/webkit/glue/plugins/test/plugin_javascript_open_popup.cc |
@@ -5,7 +5,7 @@ |
#include "build/build_config.h" |
#include "webkit/glue/plugins/test/plugin_javascript_open_popup.h" |
-#if defined(OS_LINUX) |
+#if defined(USE_X11) |
#include "third_party/npapi/bindings/npapi_x11.h" |
#endif |
#include "webkit/glue/plugins/test/plugin_client.h" |
@@ -63,7 +63,7 @@ bool ExecuteJavascriptPopupWindowTargetPluginTest::CheckWindow( |
return false; |
} |
-#elif defined(OS_LINUX) |
+#elif defined(USE_X11) |
// This code blindly follows the same sorts of verifications done on |
// the Windows side. Does it make sense on X? Maybe not really, but |
// it can't hurt to do extra validations. |