Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2461)

Unified Diff: Source/modules/quota/DeprecatedStorageQuota.cpp

Issue 676183002: Oilpan: simplify quota storage callbacks objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698