Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: webkit/glue/plugins/test/plugin_javascript_open_popup.cc

Issue 519030: bsds: views/ and webkit/ support for FreeBSD/OpenBSD (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698