Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1520)

Unified Diff: content/shell/browser/shell_content_browser_client.cc

Issue 1763113002: Move layout-test-specific switches from shell_switches to layout_test_switches.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-line-box-and-debug-from-flags-struct
Patch Set: Fix accidental condition reversal in Shell::ToggleFullscreenModeForTab. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/browser/shell_web_contents_view_delegate_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 39eb87e5e826d60b01464e82bf4e60852645e91d..4fe9084416e5fe8676b9c9c69dde80dd9dcbef04 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -234,22 +234,6 @@ void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
base::CommandLine* command_line,
int child_process_id) {
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableFontAntialiasing)) {
- command_line->AppendSwitch(switches::kEnableFontAntialiasing);
- }
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAlwaysUseComplexText)) {
- command_line->AppendSwitch(switches::kAlwaysUseComplexText);
- }
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kExposeInternalsForTesting)) {
- command_line->AppendSwitch(switches::kExposeInternalsForTesting);
- }
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kStableReleaseMode)) {
- command_line->AppendSwitch(switches::kStableReleaseMode);
- }
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableCrashReporter)) {
command_line->AppendSwitch(switches::kEnableCrashReporter);
}
@@ -261,13 +245,6 @@ void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
switches::kCrashDumpsDir));
}
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableLeakDetection)) {
- command_line->AppendSwitchASCII(
- switches::kEnableLeakDetection,
- base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
- switches::kEnableLeakDetection));
- }
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kIsolateSitesForTesting)) {
command_line->AppendSwitchASCII(
switches::kIsolateSitesForTesting,
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/shell/browser/shell_web_contents_view_delegate_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698