summaryrefslogtreecommitdiffstats
path: root/content/shell/shell.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-26 15:20:04 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-26 15:20:04 +0000
commit118310616de7a8a6344aa46a7596b542e2329605 (patch)
tree1848c6689bc1ec2c19969e7bc906904b37bf7551 /content/shell/shell.cc
parenta55be12bd48805850f2a3404af9116b09b1c4ebb (diff)
downloadchromium_src-118310616de7a8a6344aa46a7596b542e2329605.zip
chromium_src-118310616de7a8a6344aa46a7596b542e2329605.tar.gz
chromium_src-118310616de7a8a6344aa46a7596b542e2329605.tar.bz2
Rewrite layout_browsertests to use content_shell --dump-render-tree to execute layout tests
break down of changes - refactor WebKitTestResultPrinter to print to a stream - allow for swapping the result printer - add testRunner.workerThreadCount implementation and testRunner.overridePreference stub - rip out the fake testRunner and result getting / formatting code from InProcessBrowserLayoutTest - make it use WebKitTestController to run the tests - remove all the code for copying resources around (since we don't need to patch the tests, we can just read the original) BUG=none TEST=layout_browsertests passes Review URL: https://chromiumcodereview.appspot.com/10941011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158803 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell.cc')
-rw-r--r--content/shell/shell.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/shell.cc b/content/shell/shell.cc
index 27dee85..9d9721e 100644
--- a/content/shell/shell.cc
+++ b/content/shell/shell.cc
@@ -224,7 +224,7 @@ bool Shell::AddMessageToConsole(WebContents* source,
if (line_no)
buffer += base::StringPrintf("line %d: ", line_no);
buffer += UTF16ToUTF8(message);
- WebKitTestController::Get()->printer().AddMessage(buffer);
+ WebKitTestController::Get()->printer()->AddMessage(buffer);
return true;
}