| 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];
|
| }
|
|
|