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

Unified Diff: third_party/WebKit/Source/modules/quota/StorageErrorCallback.cpp

Issue 2700753002: Replace ExecutionContextTask with WTF::Closure in StorageErrorCallback (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/WebKit/Source/modules/quota/StorageErrorCallback.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/quota/StorageErrorCallback.cpp
diff --git a/third_party/WebKit/Source/modules/quota/StorageErrorCallback.cpp b/third_party/WebKit/Source/modules/quota/StorageErrorCallback.cpp
index ecd7f60a3a83a5bc26a3d0f55a813d1fefc9c55e..c6b2d414e24eaeb22aa2ebc9ad45d5551bd717b8 100644
--- a/third_party/WebKit/Source/modules/quota/StorageErrorCallback.cpp
+++ b/third_party/WebKit/Source/modules/quota/StorageErrorCallback.cpp
@@ -34,11 +34,10 @@
namespace blink {
-std::unique_ptr<ExecutionContextTask>
-StorageErrorCallback::createSameThreadTask(StorageErrorCallback* callback,
- ExceptionCode ec) {
- return blink::createSameThreadTask(&StorageErrorCallback::run,
- wrapPersistent(callback), ec);
+std::unique_ptr<WTF::Closure> StorageErrorCallback::createSameThreadTask(
+ StorageErrorCallback* callback,
+ ExceptionCode ec) {
+ return WTF::bind(&StorageErrorCallback::run, wrapPersistent(callback), ec);
}
void StorageErrorCallback::run(StorageErrorCallback* callback,
« no previous file with comments | « third_party/WebKit/Source/modules/quota/StorageErrorCallback.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698