Index: third_party/WebKit/Source/modules/filesystem/LocalFileSystem.cpp |
diff --git a/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.cpp b/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.cpp |
index fffdc8b8272dc0403e1055fe9e95f5b039b6bd6c..2a244b616d366c2eaa652c2c4b438305354282da 100644 |
--- a/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.cpp |
+++ b/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.cpp |
@@ -33,6 +33,7 @@ |
#include "core/dom/Document.h" |
#include "core/dom/ExecutionContext.h" |
#include "core/dom/ExecutionContextTask.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/fileapi/FileError.h" |
#include "core/frame/LocalFrame.h" |
#include "core/workers/WorkerGlobalScope.h" |
@@ -159,7 +160,7 @@ void LocalFileSystem::requestFileSystemAccessInternal( |
void LocalFileSystem::fileSystemNotAvailable(ExecutionContext* context, |
CallbackWrapper* callbacks) { |
context->postTask( |
- BLINK_FROM_HERE, |
+ TaskType::FileReading, BLINK_FROM_HERE, |
createSameThreadTask(&reportFailure, WTF::passed(callbacks->release()), |
FileError::kAbortErr)); |
} |
@@ -167,7 +168,7 @@ void LocalFileSystem::fileSystemNotAvailable(ExecutionContext* context, |
void LocalFileSystem::fileSystemNotAllowedInternal(ExecutionContext* context, |
CallbackWrapper* callbacks) { |
context->postTask( |
- BLINK_FROM_HERE, |
+ TaskType::FileReading, BLINK_FROM_HERE, |
createSameThreadTask(&reportFailure, WTF::passed(callbacks->release()), |
FileError::kAbortErr)); |
} |