Index: chrome/common/common_glue.cc |
diff --git a/chrome/common/common_glue.cc b/chrome/common/common_glue.cc |
index 6c33f1e820e230a73dd42bb11fadbd1b53798904..7d32310482772a483d7134128e345b297131908a 100644 |
--- a/chrome/common/common_glue.cc |
+++ b/chrome/common/common_glue.cc |
@@ -29,7 +29,7 @@ std::wstring GetWebKitLocale() { |
// The browser process should have passed the locale to the renderer via the |
// --lang command line flag. In single process mode, this will return the |
// wrong value. TODO(tc): Fix this for single process mode. |
- CommandLine parsed_command_line; |
+ const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); |
const std::wstring& lang = |
parsed_command_line.GetSwitchValue(switches::kLang); |
DCHECK(!lang.empty() || |