| Index: third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp
|
| diff --git a/third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp b/third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp
|
| index f24868aba465289e3d478b9f9de0dc8f04264206..ac254304248d1a11e54892041f028b13d4b3033e 100644
|
| --- a/third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp
|
| +++ b/third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp
|
| @@ -62,7 +62,7 @@ void DeprecatedStorageQuota::queryUsageAndQuota(
|
| if (storageType != WebStorageQuotaTypeTemporary &&
|
| storageType != WebStorageQuotaTypePersistent) {
|
| // Unknown storage type is requested.
|
| - TaskRunnerHelper::get(TaskType::MiscPlatformAPI, executionContext)
|
| + TaskRunnerHelper::get(TaskType::MiscPlatformAPI, scriptState)
|
| ->postTask(BLINK_FROM_HERE, StorageErrorCallback::createSameThreadTask(
|
| errorCallback, NotSupportedError));
|
| return;
|
| @@ -70,7 +70,7 @@ void DeprecatedStorageQuota::queryUsageAndQuota(
|
|
|
| SecurityOrigin* securityOrigin = executionContext->getSecurityOrigin();
|
| if (securityOrigin->isUnique()) {
|
| - TaskRunnerHelper::get(TaskType::MiscPlatformAPI, executionContext)
|
| + TaskRunnerHelper::get(TaskType::MiscPlatformAPI, scriptState)
|
| ->postTask(BLINK_FROM_HERE, StorageErrorCallback::createSameThreadTask(
|
| errorCallback, NotSupportedError));
|
| return;
|
| @@ -95,7 +95,7 @@ void DeprecatedStorageQuota::requestQuota(ScriptState* scriptState,
|
| if (storageType != WebStorageQuotaTypeTemporary &&
|
| storageType != WebStorageQuotaTypePersistent) {
|
| // Unknown storage type is requested.
|
| - TaskRunnerHelper::get(TaskType::MiscPlatformAPI, executionContext)
|
| + TaskRunnerHelper::get(TaskType::MiscPlatformAPI, scriptState)
|
| ->postTask(BLINK_FROM_HERE, StorageErrorCallback::createSameThreadTask(
|
| errorCallback, NotSupportedError));
|
| return;
|
| @@ -103,7 +103,7 @@ void DeprecatedStorageQuota::requestQuota(ScriptState* scriptState,
|
|
|
| StorageQuotaClient* client = StorageQuotaClient::from(executionContext);
|
| if (!client) {
|
| - TaskRunnerHelper::get(TaskType::MiscPlatformAPI, executionContext)
|
| + TaskRunnerHelper::get(TaskType::MiscPlatformAPI, scriptState)
|
| ->postTask(BLINK_FROM_HERE, StorageErrorCallback::createSameThreadTask(
|
| errorCallback, NotSupportedError));
|
| return;
|
|
|