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

Unified Diff: content/public/test/content_browser_test.cc

Issue 896403002: Revert of Chromium-side patch to rename "--dump-render-tree" to "--run-layout-test". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/public/test/content_browser_test.cc
diff --git a/content/public/test/content_browser_test.cc b/content/public/test/content_browser_test.cc
index a6802124f9c59e70e1382c5d7bdb95fd851a364a..0408c8a5cc8480ffb2c5fd80d8dbc98c45d64609 100644
--- a/content/public/test/content_browser_test.cc
+++ b/content/public/test/content_browser_test.cc
@@ -74,7 +74,7 @@
// setting a global that may be used after ContentBrowserTest is
// destroyed.
ContentRendererClient* old_client =
- command_line->HasSwitch(switches::kRunLayoutTest)
+ command_line->HasSwitch(switches::kDumpRenderTree)
? SetRendererClientForTesting(new LayoutTestContentRendererClient)
: SetRendererClientForTesting(new ShellContentRendererClient);
// No-one should have set this value before we did.
@@ -117,7 +117,7 @@
void ContentBrowserTest::RunTestOnMainThreadLoop() {
if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kRunLayoutTest)) {
+ switches::kDumpRenderTree)) {
CHECK_EQ(Shell::windows().size(), 1u);
shell_ = Shell::windows()[0];
}

Powered by Google App Engine
This is Rietveld 408576698