| Index: Source/modules/quota/StorageQuota.cpp
|
| diff --git a/Source/modules/quota/StorageQuota.cpp b/Source/modules/quota/StorageQuota.cpp
|
| index e5f735782acd9147fa2049fb7542454d10cbf2b9..6f9189c35b5ab6a91a105fc8d70f50fb1c924c74 100644
|
| --- a/Source/modules/quota/StorageQuota.cpp
|
| +++ b/Source/modules/quota/StorageQuota.cpp
|
| @@ -94,8 +94,8 @@ ScriptPromise StorageQuota::queryInfo(ScriptState* scriptState, String type)
|
| }
|
|
|
| KURL storagePartition = KURL(KURL(), securityOrigin->toString());
|
| - OwnPtrWillBeRawPtr<StorageQuotaCallbacks> callbacks = StorageQuotaCallbacksImpl::create(resolver);
|
| - Platform::current()->queryStorageUsageAndQuota(storagePartition, stringToStorageQuotaType(type), callbacks.release());
|
| + StorageQuotaCallbacks* callbacks = StorageQuotaCallbacksImpl::create(resolver);
|
| + Platform::current()->queryStorageUsageAndQuota(storagePartition, stringToStorageQuotaType(type), callbacks);
|
| return promise;
|
| }
|
|
|
|
|