Index: content/browser/ppapi_broker_process_host.cc |
=================================================================== |
--- content/browser/ppapi_broker_process_host.cc (revision 97969) |
+++ content/browser/ppapi_broker_process_host.cc (working copy) |
@@ -36,7 +36,14 @@ |
CommandLine::StringType plugin_launcher = |
browser_command_line.GetSwitchValueNative(switches::kPpapiPluginLauncher); |
- FilePath exe_path = ChildProcessHost::GetChildPath(plugin_launcher.empty()); |
+#if defined(OS_LINUX) |
+ int flags = plugin_launcher.empty() ? ChildProcessHost::CHILD_ALLOW_SELF : |
+ ChildProcessHost::CHILD_NORMAL; |
+#else |
+ int flags = ChildProcessHost::CHILD_NORMAL; |
+#endif |
+ |
+ FilePath exe_path = ChildProcessHost::GetChildPath(flags); |
if (exe_path.empty()) |
return false; |