summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-12 20:03:41 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-12 20:03:41 +0000
commit44af8775568b168c5288db91cfd429a86b40684f (patch)
treeae118e33db82f35e0a69d09fb44185dfc3825b4c
parent2194e23551ec37792499dac493161f641d3441f1 (diff)
downloadchromium_src-44af8775568b168c5288db91cfd429a86b40684f.zip
chromium_src-44af8775568b168c5288db91cfd429a86b40684f.tar.gz
chromium_src-44af8775568b168c5288db91cfd429a86b40684f.tar.bz2
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
-rw-r--r--chrome/app/chrome_dll_main.cc6
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);