Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Unified Diff: webkit/tools/test_shell/test_shell.cc

Issue 159232: Remove the dependency on V8Proxy.h from test_shell.cc. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/src/WebKit.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell.cc
===================================================================
--- webkit/tools/test_shell/test_shell.cc (revision 21306)
+++ webkit/tools/test_shell/test_shell.cc (working copy)
@@ -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 @@
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());
« no previous file with comments | « webkit/api/src/WebKit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698