Index: content/shell/app/shell_main_delegate.cc |
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
index b0fbabb2c3508f187617bbac907e5ace8ab5c1be..2e85fc56f4af40e510194b23fd9dc5e9aaaa4b2c 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -183,6 +183,11 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { |
command_line.AppendSwitchASCII(switches::kHostResolverRules, |
"MAP *.test 127.0.0.1"); |
+#if defined(OS_WIN) || defined(OS_MACOSX) |
+ // TODO(wfh): crbug.com/295137 Remove this when NPAPI is gone. |
+ command_line.AppendSwitch(switches::kEnableNpapi); |
+#endif |
+ |
// Unless/until WebM files are added to the media layout tests, we need to |
// avoid removing MP4/H264/AAC so that layout tests can run on Android. |
#if !defined(OS_ANDROID) |