diff options
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 6 |
1 files 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); |