diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-09 20:40:06 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-09 20:40:06 +0000 |
commit | 83eb8970409e92ca196b42d9d6fc1ae504ed6f3a (patch) | |
tree | 9eb332fa4563bb25365433619d54474194a6a94b /chrome | |
parent | 7e0a0d2bfc5f7ae1bdab32b4aa6fb27fae6e6ec3 (diff) | |
download | chromium_src-83eb8970409e92ca196b42d9d6fc1ae504ed6f3a.zip chromium_src-83eb8970409e92ca196b42d9d6fc1ae504ed6f3a.tar.gz chromium_src-83eb8970409e92ca196b42d9d6fc1ae504ed6f3a.tar.bz2 |
Remove compile warning on OSX if branded
Review URL: http://codereview.chromium.org/40316
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11283 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/renderer_host/browser_render_process_host.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc index 3f82a3a..8fb8108 100644 --- a/chrome/browser/renderer_host/browser_render_process_host.cc +++ b/chrome/browser/renderer_host/browser_render_process_host.cc @@ -296,6 +296,7 @@ bool BrowserRenderProcessHost::Init() { const std::wstring locale = g_browser_process->GetApplicationLocale(); cmd_line.AppendSwitchWithValue(switches::kLang, locale); +#if defined(OS_WIN) bool in_sandbox = !browser_command_line.HasSwitch(switches::kNoSandbox); #if !defined (GOOGLE_CHROME_BUILD) if (browser_command_line.HasSwitch(switches::kInProcessPlugins)) { @@ -304,11 +305,11 @@ bool BrowserRenderProcessHost::Init() { } #endif -#if defined(OS_WIN) bool child_needs_help = DebugFlags::ProcessDebugFlags(&cmd_line, ChildProcessInfo::RENDER_PROCESS, in_sandbox); +// OS_WIN ends here #elif defined(OS_POSIX) if (browser_command_line.HasSwitch(switches::kRendererCmdPrefix)) { // launch the renderer child with some prefix (usually "gdb --args") @@ -316,7 +317,7 @@ bool BrowserRenderProcessHost::Init() { browser_command_line.GetSwitchValue(switches::kRendererCmdPrefix); cmd_line.PrependWrapper(prefix); } -#endif +#endif // OS_POSIX cmd_line.AppendSwitchWithValue(switches::kProcessType, switches::kRendererProcess); |