Commit 39ef31b7 authored by jochen@chromium.org's avatar jochen@chromium.org

[content shell] only instantiate webkit test runners for layout tests

BUG=173456,173079
R=marja@chromium.org

Review URL: https://codereview.chromium.org/12114046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180120 0039d316-1c4b-4281-b951-d872f2087c98
parent 77484c21
......@@ -56,6 +56,8 @@ void ShellContentRendererClient::RenderThreadStarted() {
}
void ShellContentRendererClient::RenderViewCreated(RenderView* render_view) {
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
return;
WebKitTestRunner* test_runner = new WebKitTestRunner(render_view);
if (!ShellRenderProcessObserver::GetInstance()->test_delegate()) {
ShellRenderProcessObserver::GetInstance()->SetMainWindow(render_view,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment