| Index: third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp
|
| diff --git a/third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp b/third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp
|
| index 60b3a175d1d9002a27c7ee89aa1830281eeafd8e..23367b36508ab7af91aa5e70702cad6a333df792 100644
|
| --- a/third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp
|
| +++ b/third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp
|
| @@ -32,6 +32,7 @@
|
|
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/dom/ExecutionContext.h"
|
| +#include "core/dom/TaskRunnerHelper.h"
|
| #include "modules/quota/DeprecatedStorageQuota.h"
|
| #include "modules/quota/StorageErrorCallback.h"
|
| #include "modules/quota/StorageQuotaCallback.h"
|
| @@ -52,7 +53,7 @@ void DeprecatedStorageInfo::queryUsageAndQuota(
|
| DeprecatedStorageQuota* storageQuota = getStorageQuota(storageType);
|
| if (!storageQuota) {
|
| // Unknown storage type is requested.
|
| - executionContext->postTask(BLINK_FROM_HERE,
|
| + executionContext->postTask(TaskType::MiscPlatformAPI, BLINK_FROM_HERE,
|
| StorageErrorCallback::createSameThreadTask(
|
| errorCallback, NotSupportedError));
|
| return;
|
| @@ -71,7 +72,7 @@ void DeprecatedStorageInfo::requestQuota(ExecutionContext* executionContext,
|
| DeprecatedStorageQuota* storageQuota = getStorageQuota(storageType);
|
| if (!storageQuota) {
|
| // Unknown storage type is requested.
|
| - executionContext->postTask(BLINK_FROM_HERE,
|
| + executionContext->postTask(TaskType::MiscPlatformAPI, BLINK_FROM_HERE,
|
| StorageErrorCallback::createSameThreadTask(
|
| errorCallback, NotSupportedError));
|
| return;
|
|
|