summaryrefslogtreecommitdiffstats
path: root/content/shell
diff options
context:
space:
mode:
authorpilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 07:56:40 +0000
committerpilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 07:56:40 +0000
commit2a58eb1b70534eb673c569f92731694d6e0dafd7 (patch)
treef1e4021067996a033c76ff20d541168cbb4c1948 /content/shell
parent052b40230bc8a42dcf5a32dad4d85f3c84726afe (diff)
downloadchromium_src-2a58eb1b70534eb673c569f92731694d6e0dafd7.zip
chromium_src-2a58eb1b70534eb673c569f92731694d6e0dafd7.tar.gz
chromium_src-2a58eb1b70534eb673c569f92731694d6e0dafd7.tar.bz2
Call WebKit::Platform::current() instead of webkitPlatformSupport()
for functions that have been moved to the new Platform layer Review URL: https://chromiumcodereview.appspot.com/11576057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell')
-rw-r--r--content/shell/webkit_test_runner.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/shell/webkit_test_runner.cc b/content/shell/webkit_test_runner.cc
index 69210e6..50cfa00 100644
--- a/content/shell/webkit_test_runner.cc
+++ b/content/shell/webkit_test_runner.cc
@@ -20,6 +20,7 @@
#include "content/shell/shell_render_process_observer.h"
#include "net/base/net_util.h"
#include "skia/ext/platform_canvas.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/Platform.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
@@ -28,7 +29,6 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCString.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
@@ -39,6 +39,7 @@
#include "webkit/glue/webkit_glue.h"
#include "webkit/glue/webpreferences.h"
+using WebKit::Platform;
using WebKit::WebContextMenuData;
using WebKit::WebDevToolsAgent;
using WebKit::WebElement;
@@ -197,7 +198,7 @@ void WebKitTestRunner::printMessage(const std::string& message) {
}
void WebKitTestRunner::postTask(WebTask* task) {
- WebKit::webKitPlatformSupport()->callOnMainThread(InvokeTaskHelper, task);
+ Platform::current()->callOnMainThread(InvokeTaskHelper, task);
}
void WebKitTestRunner::postDelayedTask(WebTask* task, long long ms) {