| Index: chrome/common/ipc_logging.cc
|
| diff --git a/chrome/common/ipc_logging.cc b/chrome/common/ipc_logging.cc
|
| index db8bf84a45045559330fe476881fd68d44fd4314..ec2fe82c2f4d5853c3bcff1f7d849ed4ef026770 100644
|
| --- a/chrome/common/ipc_logging.cc
|
| +++ b/chrome/common/ipc_logging.cc
|
| @@ -45,7 +45,7 @@ Logging::Logging()
|
| // enabled, so child processes can know when logging is enabled.
|
| int browser_pid;
|
|
|
| - CommandLine parsed_command_line;
|
| + const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
|
| std::wstring process_type =
|
| parsed_command_line.GetSwitchValue(switches::kProcessType);
|
| if (process_type.empty()) {
|
|
|