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

Unified Diff: Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h

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 | « Source/modules/quota/DeprecatedStorageQuota.cpp ('k') | Source/modules/quota/StorageQuota.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h
diff --git a/Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h b/Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h
index 9ff7e2c8d8a8c4125f0641d6a562ac97b8ce48b8..101876aec9825808f6e918e41323a6399ab3af39 100644
--- a/Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h
+++ b/Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h
@@ -43,14 +43,14 @@ namespace blink {
class DeprecatedStorageQuotaCallbacksImpl final : public StorageQuotaCallbacks {
public:
- static PassOwnPtrWillBeRawPtr<DeprecatedStorageQuotaCallbacksImpl> create(StorageUsageCallback* success, StorageErrorCallback* error)
+ static DeprecatedStorageQuotaCallbacksImpl* create(StorageUsageCallback* success, StorageErrorCallback* error)
{
- return adoptPtrWillBeNoop(new DeprecatedStorageQuotaCallbacksImpl(success, error));
+ return new DeprecatedStorageQuotaCallbacksImpl(success, error);
}
- static PassOwnPtrWillBeRawPtr<DeprecatedStorageQuotaCallbacksImpl> create(StorageQuotaCallback* success, StorageErrorCallback* error)
+ static DeprecatedStorageQuotaCallbacksImpl* create(StorageQuotaCallback* success, StorageErrorCallback* error)
{
- return adoptPtrWillBeNoop(new DeprecatedStorageQuotaCallbacksImpl(success, error));
+ return new DeprecatedStorageQuotaCallbacksImpl(success, error);
}
virtual ~DeprecatedStorageQuotaCallbacksImpl();
@@ -64,9 +64,9 @@ private:
DeprecatedStorageQuotaCallbacksImpl(StorageUsageCallback*, StorageErrorCallback*);
DeprecatedStorageQuotaCallbacksImpl(StorageQuotaCallback*, StorageErrorCallback*);
- PersistentWillBeMember<StorageUsageCallback> m_usageCallback;
- PersistentWillBeMember<StorageQuotaCallback> m_quotaCallback;
- PersistentWillBeMember<StorageErrorCallback> m_errorCallback;
+ Member<StorageUsageCallback> m_usageCallback;
+ Member<StorageQuotaCallback> m_quotaCallback;
+ Member<StorageErrorCallback> m_errorCallback;
};
} // namespace blink
« no previous file with comments | « Source/modules/quota/DeprecatedStorageQuota.cpp ('k') | Source/modules/quota/StorageQuota.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698