Index: Source/modules/quota/DeprecatedStorageQuota.cpp |
diff --git a/Source/modules/quota/DeprecatedStorageQuota.cpp b/Source/modules/quota/DeprecatedStorageQuota.cpp |
index 82822108eb190ac3934a51e286fb323239372184..2ccf60f840bced72cbcd36a1dd7d6fa6d4aa223f 100644 |
--- a/Source/modules/quota/DeprecatedStorageQuota.cpp |
+++ b/Source/modules/quota/DeprecatedStorageQuota.cpp |
@@ -69,8 +69,8 @@ void DeprecatedStorageQuota::queryUsageAndQuota(ExecutionContext* executionConte |
} |
KURL storagePartition = KURL(KURL(), securityOrigin->toString()); |
- OwnPtrWillBeRawPtr<StorageQuotaCallbacks> callbacks = DeprecatedStorageQuotaCallbacksImpl::create(successCallback, errorCallback); |
- Platform::current()->queryStorageUsageAndQuota(storagePartition, storageType, callbacks.release()); |
+ StorageQuotaCallbacks* callbacks = DeprecatedStorageQuotaCallbacksImpl::create(successCallback, errorCallback); |
+ Platform::current()->queryStorageUsageAndQuota(storagePartition, storageType, callbacks); |
} |
void DeprecatedStorageQuota::requestQuota(ExecutionContext* executionContext, unsigned long long newQuotaInBytes, StorageQuotaCallback* successCallback, StorageErrorCallback* errorCallback) |