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 0408c8a5cc8480ffb2c5fd80d8dbc98c45d64609..a6802124f9c59e70e1382c5d7bdb95fd851a364a 100644 |
--- a/content/public/test/content_browser_test.cc |
+++ b/content/public/test/content_browser_test.cc |
@@ -74,7 +74,7 @@ void ContentBrowserTest::SetUp() { |
// setting a global that may be used after ContentBrowserTest is |
// destroyed. |
ContentRendererClient* old_client = |
- command_line->HasSwitch(switches::kDumpRenderTree) |
+ command_line->HasSwitch(switches::kRunLayoutTest) |
? SetRendererClientForTesting(new LayoutTestContentRendererClient) |
: SetRendererClientForTesting(new ShellContentRendererClient); |
// No-one should have set this value before we did. |
@@ -117,7 +117,7 @@ void ContentBrowserTest::TearDown() { |
void ContentBrowserTest::RunTestOnMainThreadLoop() { |
if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDumpRenderTree)) { |
+ switches::kRunLayoutTest)) { |
CHECK_EQ(Shell::windows().size(), 1u); |
shell_ = Shell::windows()[0]; |
} |