summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 17:00:24 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 17:00:24 +0000
commit7f74a4ee8538089c11895ff2f3b7110f3ca0061b (patch)
treecd49fd9715d351cb282b9b348ddca2da540133b8 /chrome/browser/renderer_host
parent06f666707b420f11a454929e4de0fbb843d71d55 (diff)
downloadchromium_src-7f74a4ee8538089c11895ff2f3b7110f3ca0061b.zip
chromium_src-7f74a4ee8538089c11895ff2f3b7110f3ca0061b.tar.gz
chromium_src-7f74a4ee8538089c11895ff2f3b7110f3ca0061b.tar.bz2
Fix issue 11006 - any plugin process started by InProcessBrowserTest was
using the unit_test executable rather than chrome.exe. This patch repurposes the --renderer-path switch to be --browser-subprocess-path for both plugins and renderers. BUG=11006 TEST=Any InProcessBrowserTest (they all will start at least one renderer). Use NavigateToURL to a URL containing flash, we shouldn't crash. Review URL: http://codereview.chromium.org/99011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r--chrome/browser/renderer_host/browser_render_process_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index 885a086..af67872 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -220,7 +220,7 @@ bool BrowserRenderProcessHost::Init() {
// Build command line for renderer, we have to quote the executable name to
// deal with spaces.
std::wstring renderer_path =
- browser_command_line.GetSwitchValue(switches::kRendererPath);
+ browser_command_line.GetSwitchValue(switches::kBrowserSubprocessPath);
if (renderer_path.empty()) {
if (!GetRendererPath(&renderer_path)) {
// Need to reset the channel we created above or others might think the