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

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

Issue 85263006: Make IDL Callbacks non-refcounted by default (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 1 month 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 | « Source/modules/quota/StorageInfo.h ('k') | Source/modules/quota/StorageQuota.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/StorageInfo.cpp
diff --git a/Source/modules/quota/StorageInfo.cpp b/Source/modules/quota/StorageInfo.cpp
index 3aa8041068c6d64743e134a506a56688414655e8..19133ef88c5693bfa27ae07eb2c8a95c4a1b80fa 100644
--- a/Source/modules/quota/StorageInfo.cpp
+++ b/Source/modules/quota/StorageInfo.cpp
@@ -51,7 +51,7 @@ StorageInfo::~StorageInfo()
{
}
-void StorageInfo::queryUsageAndQuota(ExecutionContext* executionContext, int storageType, PassRefPtr<StorageUsageCallback> successCallback, PassRefPtr<StorageErrorCallback> errorCallback)
+void StorageInfo::queryUsageAndQuota(ExecutionContext* executionContext, int storageType, PassOwnPtr<StorageUsageCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallback)
{
// Dispatching the request to StorageQuota, as this interface is deprecated in favor of StorageQuota.
StorageQuota* storageQuota = getStorageQuota(storageType);
@@ -63,7 +63,7 @@ void StorageInfo::queryUsageAndQuota(ExecutionContext* executionContext, int sto
storageQuota->queryUsageAndQuota(executionContext, successCallback, errorCallback);
}
-void StorageInfo::requestQuota(ExecutionContext* executionContext, int storageType, unsigned long long newQuotaInBytes, PassRefPtr<StorageQuotaCallback> successCallback, PassRefPtr<StorageErrorCallback> errorCallback)
+void StorageInfo::requestQuota(ExecutionContext* executionContext, int storageType, unsigned long long newQuotaInBytes, PassOwnPtr<StorageQuotaCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallback)
{
// Dispatching the request to StorageQuota, as this interface is deprecated in favor of StorageQuota.
StorageQuota* storageQuota = getStorageQuota(storageType);
« no previous file with comments | « Source/modules/quota/StorageInfo.h ('k') | Source/modules/quota/StorageQuota.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698