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

Unified Diff: Source/modules/quota/StorageQuota.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
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;
}
« no previous file with comments | « Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h ('k') | Source/modules/quota/StorageQuotaCallbacksImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698