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

Unified Diff: third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h

Issue 2645473005: FileSystem: Migrate ExecutionContextTask to WTF::Closure (Closed)
Patch Set: wrapWeakPersistent Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h b/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h
index dfa990e3bf911188dfb8fcfb8317d72326501226..60170324d7282eb8d5950c59e7635dafc7e0b399 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h
@@ -89,11 +89,7 @@ class MODULES_EXPORT DOMFileSystem final
// Schedule a callback. This should not cross threads (should be called on the
// same context thread).
static void scheduleCallback(ExecutionContext* executionContext,
- std::unique_ptr<ExecutionContextTask> task) {
- DCHECK(executionContext->isContextThread());
- executionContext->postTask(TaskType::FileReading, BLINK_FROM_HERE,
- std::move(task), taskNameForInstrumentation());
- }
+ std::unique_ptr<WTF::Closure> task);
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698