Index: chrome/browser/automation/testing_automation_provider.cc |
=================================================================== |
--- chrome/browser/automation/testing_automation_provider.cc (revision 97870) |
+++ chrome/browser/automation/testing_automation_provider.cc (working copy) |
@@ -2755,8 +2755,14 @@ |
} |
return_value->Set("windows", windows); |
+#if defined(OS_LINUX) |
+ int flags = ChildProcessHost::CHILD_ALLOW_SELF; |
+#else |
+ int flags = ChildProcessHost::CHILD_NORMAL; |
+#endif |
+ |
return_value->SetString("child_process_path", |
- ChildProcessHost::GetChildPath(true).value()); |
+ ChildProcessHost::GetChildPath(flags).value()); |
// Child processes are the processes for plugins and other workers. |
// Add all child processes in a list of dictionaries, one dictionary item |
// per child process. |