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

Unified Diff: Source/modules/quota/WebStorageQuotaCallbacksImpl.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/WebStorageQuotaCallbacksImpl.h ('k') | Source/modules/webaudio/AsyncAudioDecoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/WebStorageQuotaCallbacksImpl.cpp
diff --git a/Source/modules/quota/WebStorageQuotaCallbacksImpl.cpp b/Source/modules/quota/WebStorageQuotaCallbacksImpl.cpp
index 18949eda264bf452386c389a515c10248d929879..8427c8ca96b4756f9711c46e31ad5ce260ad8a1c 100644
--- a/Source/modules/quota/WebStorageQuotaCallbacksImpl.cpp
+++ b/Source/modules/quota/WebStorageQuotaCallbacksImpl.cpp
@@ -36,13 +36,13 @@
namespace WebCore {
-WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl(PassRefPtr<StorageUsageCallback> usageCallback, PassRefPtr<StorageErrorCallback> errorCallback)
+WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl(PassOwnPtr<StorageUsageCallback> usageCallback, PassOwnPtr<StorageErrorCallback> errorCallback)
: m_usageCallback(usageCallback)
, m_errorCallback(errorCallback)
{
}
-WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl(PassRefPtr<StorageQuotaCallback> quotaCallback, PassRefPtr<StorageErrorCallback> errorCallback)
+WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl(PassOwnPtr<StorageQuotaCallback> quotaCallback, PassOwnPtr<StorageErrorCallback> errorCallback)
: m_quotaCallback(quotaCallback)
, m_errorCallback(errorCallback)
{
« no previous file with comments | « Source/modules/quota/WebStorageQuotaCallbacksImpl.h ('k') | Source/modules/webaudio/AsyncAudioDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698