diff options
author | pilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-18 07:56:40 +0000 |
---|---|---|
committer | pilgrim@chromium.org <pilgrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-18 07:56:40 +0000 |
commit | 2a58eb1b70534eb673c569f92731694d6e0dafd7 (patch) | |
tree | f1e4021067996a033c76ff20d541168cbb4c1948 /content/renderer/dom_storage | |
parent | 052b40230bc8a42dcf5a32dad4d85f3c84726afe (diff) | |
download | chromium_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/renderer/dom_storage')
-rw-r--r-- | content/renderer/dom_storage/dom_storage_dispatcher.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/renderer/dom_storage/dom_storage_dispatcher.cc b/content/renderer/dom_storage/dom_storage_dispatcher.cc index 86bdaf9..5963694 100644 --- a/content/renderer/dom_storage/dom_storage_dispatcher.cc +++ b/content/renderer/dom_storage/dom_storage_dispatcher.cc @@ -13,7 +13,7 @@ #include "content/renderer/dom_storage/webstoragearea_impl.h" #include "content/renderer/dom_storage/webstoragenamespace_impl.h" #include "content/renderer/render_thread_impl.h" -#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h" +#include "third_party/WebKit/Source/Platform/chromium/public/Platform.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispatcher.h" #include "webkit/dom_storage/dom_storage_cached_area.h" @@ -143,7 +143,7 @@ class DomStorageDispatcher::ProxyImpl : public DomStorageProxy { // to more reliably commit changes during shutdown. void PushPendingCallback(const CompletionCallback& callback) { if (pending_callbacks_.empty()) - WebKit::webKitPlatformSupport()->suddenTerminationChanged(false); + WebKit::Platform::current()->suddenTerminationChanged(false); pending_callbacks_.push_back(callback); } @@ -151,7 +151,7 @@ class DomStorageDispatcher::ProxyImpl : public DomStorageProxy { CompletionCallback callback = pending_callbacks_.front(); pending_callbacks_.pop_front(); if (pending_callbacks_.empty()) - WebKit::webKitPlatformSupport()->suddenTerminationChanged(true); + WebKit::Platform::current()->suddenTerminationChanged(true); return callback; } |