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 a3d7331ba31003deb9016318cf96bab4d893022d..5878807136460eb9c2aa1e0a8e3b364ada69248d 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -185,6 +185,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) |