diff options
Diffstat (limited to 'content/public/test/content_browser_test.cc')
-rw-r--r-- | content/public/test/content_browser_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/public/test/content_browser_test.cc b/content/public/test/content_browser_test.cc index a6802124..0408c8a 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::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::TearDown() { void ContentBrowserTest::RunTestOnMainThreadLoop() { if (!base::CommandLine::ForCurrentProcess()->HasSwitch( - switches::kRunLayoutTest)) { + switches::kDumpRenderTree)) { CHECK_EQ(Shell::windows().size(), 1u); shell_ = Shell::windows()[0]; } |