Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index a500608f602883d1459990b340f517c526be759f..09ca2212b29208f8ce5b171b54d480c645f72d5a 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -1706,7 +1706,6 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
switches::kEnableStreamlinedHostedApps, |
switches::kEnableWatchdog, |
switches::kEnableWebBasedSignin, |
- switches::kMemoryProfiling, |
switches::kMessageLoopHistogrammer, |
switches::kOutOfProcessPdf, |
switches::kPlaybackMode, |
@@ -1733,15 +1732,14 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, |
arraysize(kSwitchNames)); |
} else if (process_type == switches::kPluginProcess) { |
- static const char* const kSwitchNames[] = { |
#if defined(OS_CHROMEOS) |
+ static const char* const kSwitchNames[] = { |
chromeos::switches::kLoginProfile, |
-#endif |
- switches::kMemoryProfiling, |
}; |
command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, |
arraysize(kSwitchNames)); |
+#endif |
} else if (process_type == switches::kZygoteProcess) { |
static const char* const kSwitchNames[] = { |
// Load (in-process) Pepper plugins in-process in the zygote pre-sandbox. |