| Index: content/shell/browser/shell_content_browser_client.cc
|
| diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
|
| index 560cef1dfa14251596a4f3e23c1e04bf92320947..a178ee0969984a26a570cd9366479426664cd414 100644
|
| --- a/content/shell/browser/shell_content_browser_client.cc
|
| +++ b/content/shell/browser/shell_content_browser_client.cc
|
| @@ -228,8 +228,12 @@ void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
|
| switches::kCrashDumpsDir));
|
| }
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableLeakDetection))
|
| - command_line->AppendSwitch(switches::kEnableLeakDetection);
|
| + switches::kEnableLeakDetection)) {
|
| + command_line->AppendSwitchASCII(
|
| + switches::kEnableLeakDetection,
|
| + CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| + switches::kEnableLeakDetection));
|
| + }
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kRegisterFontFiles)) {
|
| command_line->AppendSwitchASCII(
|
|
|