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

Unified Diff: content/shell/app/shell_main_delegate.cc

Issue 1370953002: content: Remove dump-render-tree switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: content/shell/app/shell_main_delegate.cc
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc
index d9601d5e1158170118d38a8b4c05db4da6b7a20e..24525e8c8a3df49bccebe4286bf7d5cfaa86548d 100644
--- a/content/shell/app/shell_main_delegate.cc
+++ b/content/shell/app/shell_main_delegate.cc
@@ -121,12 +121,6 @@ ShellMainDelegate::~ShellMainDelegate() {
bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
base::CommandLine& command_line = *base::CommandLine::ForCurrentProcess();
- // "dump-render-tree" has been renamed to "run-layout-test", but the old
- // flag name is still used in some places, so this check will remain until
- // it is phased out entirely.
- if (command_line.HasSwitch(switches::kDumpRenderTree))
- command_line.AppendSwitch(switches::kRunLayoutTest);
-
#if defined(OS_WIN)
// Enable trace control and transport through event tracing for Windows.
logging::LogEventProvider::Initialize(kContentShellProviderName);

Powered by Google App Engine
This is Rietveld 408576698