summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 04:38:55 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 04:38:55 +0000
commit087795bdecb90e52a52d9c69a2f0fad5477e3d4f (patch)
treeaa735fd6e889b2947af58aacb15019dff4bc75bf /chrome
parent823de0a0d5d62c39e54f299e1d3bd9369157e425 (diff)
downloadchromium_src-087795bdecb90e52a52d9c69a2f0fad5477e3d4f.zip
chromium_src-087795bdecb90e52a52d9c69a2f0fad5477e3d4f.tar.gz
chromium_src-087795bdecb90e52a52d9c69a2f0fad5477e3d4f.tar.bz2
Remove the stale ifdef/comment since the it's using the command line class now
for building up the launch of a renderer. Review URL: http://codereview.chromium.org/20071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/renderer_host/browser_render_process_host.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index 584f503..7ce1a6f 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -400,18 +400,11 @@ bool BrowserRenderProcessHost::Init() {
} else
#endif // OS_WIN and sandbox
{
-#if defined(OS_WIN)
// spawn child process
base::ProcessHandle process = 0;
- // TODO(port): LaunchApp is actually no good on POSIX when
- // we've constructed the command line as we have here, as the above
- // calls all append to a single string while LaunchApp reaches in to
- // the argv array. CommandLine should be fixed, but once it is, this
- // code will be correct.
if (!base::LaunchApp(cmd_line, false, false, &process))
return false;
process_.set_handle(process);
-#endif
}
}
}