diff options
author | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 18:26:51 +0000 |
---|---|---|
committer | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 18:26:51 +0000 |
commit | 98d7127b558c6de8121ed9ff8c299b30afb6143b (patch) | |
tree | 0748804eee8744a5642905ac1c4b496f87fc85e6 /webkit/tools/test_shell/test_shell.cc | |
parent | 5e34bc403af2328e80765406eace2f49f63e7d79 (diff) | |
download | chromium_src-98d7127b558c6de8121ed9ff8c299b30afb6143b.zip chromium_src-98d7127b558c6de8121ed9ff8c299b30afb6143b.tar.gz chromium_src-98d7127b558c6de8121ed9ff8c299b30afb6143b.tar.bz2 |
Introduce WebScriptController for script related methods.
Made it into a class with static methods.
BUG=24602
TEST=Compiled Webkit/Chromium and Try Bot'd
Review URL: http://codereview.chromium.org/308015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.cc')
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index 6691f85..a79f39b 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -54,6 +54,7 @@ using WebKit::WebCanvas; using WebKit::WebFrame; using WebKit::WebNavigationPolicy; using WebKit::WebRect; +using WebKit::WebScriptController; using WebKit::WebSize; using WebKit::WebURLRequest; using WebKit::WebView; @@ -195,7 +196,7 @@ void TestShell::Dump(TestShell* shell) { if ((shell == NULL) || ((params = shell->test_params()) == NULL)) return; - WebKit::flushConsoleMessages(); + WebScriptController::flushConsoleMessages(); // Echo the url in the output so we know we're not getting out of sync. printf("#URL:%s\n", params->test_url.c_str()); |