diff options
author | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 00:35:22 +0000 |
---|---|---|
committer | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 00:35:22 +0000 |
commit | 2679a06e0ac57d306eed6554e48451f09f59fe2c (patch) | |
tree | fc333aedf7b98bd5549eb09a7db9f782702147f1 /webkit/tools/test_shell | |
parent | ff03331621fad27ead23ddca2a218c342984a9a1 (diff) | |
download | chromium_src-2679a06e0ac57d306eed6554e48451f09f59fe2c.zip chromium_src-2679a06e0ac57d306eed6554e48451f09f59fe2c.tar.gz chromium_src-2679a06e0ac57d306eed6554e48451f09f59fe2c.tar.bz2 |
Remove the dependency on V8Proxy.h from test_shell.cc.
BUG=17300
TEST=none
Review URL: http://codereview.chromium.org/159232
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21358 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index a9d4765..07add97 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -2,11 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// TODO(dumi): expose V8Proxy::processConsoleMessages() through -// a function in WebKit.h and remove the next 2 includes -// http://code.google.com/p/chromium/issues/detail?id=17300 -#include "config.h" -#include "V8Proxy.h" #undef LOG #include "webkit/tools/test_shell/test_shell.h" @@ -37,6 +32,7 @@ #include "testing/gtest/include/gtest/gtest.h" #include "third_party/skia/include/core/SkBitmap.h" #include "webkit/api/public/WebRect.h" +#include "webkit/api/public/WebKit.h" #include "webkit/api/public/WebSize.h" #include "webkit/api/public/WebString.h" #include "webkit/api/public/WebURL.h" @@ -188,7 +184,7 @@ void TestShell::Dump(TestShell* shell) { if ((shell == NULL) || ((params = shell->test_params()) == NULL)) return; - WebCore::V8Proxy::processConsoleMessages(); + WebKit::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()); |