From 44af8775568b168c5288db91cfd429a86b40684f Mon Sep 17 00:00:00 2001 From: "sanjeevr@chromium.org" Date: Wed, 12 May 2010 20:03:41 +0000 Subject: Fixed Linux build. BUG=None. TEST=Buildbots. TBR=darin Review URL: http://codereview.chromium.org/2014014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47059 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/chrome_dll_main.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index ba4b481..6952d38 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -520,10 +520,8 @@ int ChromeMain(int argc, char** argv) { singleton_command_line->AppendSwitch(switches::kEnableGPUPlugin); } - base::ProcessId browser_pid; - if (process_type.empty()) { - browser_pid = base::GetCurrentProcId(); - } else if (SubprocessIsBrowserChild(process_type)) { + base::ProcessId browser_pid = base::GetCurrentProcId(); + if (SubprocessIsBrowserChild(process_type)) { #if defined(OS_WIN) std::wstring channel_name = parsed_command_line.GetSwitchValue(switches::kProcessChannelID); -- cgit v1.1