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

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

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
Index: third_party/WebKit/Source/modules/quota/StorageErrorCallback.h
diff --git a/third_party/WebKit/Source/modules/quota/StorageErrorCallback.h b/third_party/WebKit/Source/modules/quota/StorageErrorCallback.h
index 194f548965fb74c74bdb2234efcb5365d4e314a6..6b2792fef47a7cf52fe27e89fa09375e6e6e034d 100644
--- a/third_party/WebKit/Source/modules/quota/StorageErrorCallback.h
+++ b/third_party/WebKit/Source/modules/quota/StorageErrorCallback.h
@@ -32,8 +32,6 @@
#define StorageErrorCallback_h
#include "core/dom/ExceptionCode.h"
-#include "core/dom/ExecutionContext.h"
-#include "core/dom/ExecutionContextTask.h"
#include "modules/ModulesExport.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
@@ -49,8 +47,9 @@ class StorageErrorCallback
DEFINE_INLINE_VIRTUAL_TRACE() {}
virtual void handleEvent(DOMError*) = 0;
- MODULES_EXPORT static std::unique_ptr<ExecutionContextTask>
- createSameThreadTask(StorageErrorCallback*, ExceptionCode);
+ MODULES_EXPORT static std::unique_ptr<WTF::Closure> createSameThreadTask(
+ StorageErrorCallback*,
+ ExceptionCode);
private:
static void run(StorageErrorCallback*, ExceptionCode);

Powered by Google App Engine
This is Rietveld 408576698