Index: content/browser/plugin_browsertest.cc |
diff --git a/content/browser/plugin_browsertest.cc b/content/browser/plugin_browsertest.cc |
index 8caf7eaa4e0b68a6395b2a23b92a4c73c5dd2a67..b1d4ce7eec2ee5037cf7368524a3db9f8468149f 100644 |
--- a/content/browser/plugin_browsertest.cc |
+++ b/content/browser/plugin_browsertest.cc |
@@ -53,6 +53,9 @@ class PluginTest : public ContentBrowserTest { |
// Some NPAPI tests schedule garbage collection to force object tear-down. |
command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose_gc"); |
+#if defined(OS_WIN) || defined(OS_MACOSX) |
+ command_line->AppendSwitch(switches::kEnableNpapi); |
+#endif |
#if defined(OS_WIN) |
const testing::TestInfo* const test_info = |
testing::UnitTest::GetInstance()->current_test_info(); |