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

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

Issue 563703002: Oilpan: Enable oilpan for callback classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/DeprecatedStorageQuotaCallbacksImpl.h
diff --git a/Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h b/Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h
index fd25cf7d8ac6236533a8772bf1f9dc47affd10e1..8cf95259b384f03c49453de4ea4d7a93a0b03171 100644
--- a/Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h
+++ b/Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.h
@@ -43,12 +43,12 @@ namespace blink {
class DeprecatedStorageQuotaCallbacksImpl FINAL : public StorageQuotaCallbacks {
public:
- static PassOwnPtrWillBeRawPtr<DeprecatedStorageQuotaCallbacksImpl> create(PassOwnPtrWillBeRawPtr<StorageUsageCallback> success, PassOwnPtrWillBeRawPtr<StorageErrorCallback> error)
+ static PassOwnPtrWillBeRawPtr<DeprecatedStorageQuotaCallbacksImpl> create(StorageUsageCallback* success, StorageErrorCallback* error)
{
return adoptPtrWillBeNoop(new DeprecatedStorageQuotaCallbacksImpl(success, error));
}
- static PassOwnPtrWillBeRawPtr<DeprecatedStorageQuotaCallbacksImpl> create(PassOwnPtrWillBeRawPtr<StorageQuotaCallback> success, PassOwnPtrWillBeRawPtr<StorageErrorCallback> error)
+ static PassOwnPtrWillBeRawPtr<DeprecatedStorageQuotaCallbacksImpl> create(StorageQuotaCallback* success, StorageErrorCallback* error)
{
return adoptPtrWillBeNoop(new DeprecatedStorageQuotaCallbacksImpl(success, error));
}
@@ -61,12 +61,12 @@ public:
virtual void didFail(WebStorageQuotaError) OVERRIDE;
private:
- DeprecatedStorageQuotaCallbacksImpl(PassOwnPtrWillBeRawPtr<StorageUsageCallback>, PassOwnPtrWillBeRawPtr<StorageErrorCallback>);
- DeprecatedStorageQuotaCallbacksImpl(PassOwnPtrWillBeRawPtr<StorageQuotaCallback>, PassOwnPtrWillBeRawPtr<StorageErrorCallback>);
+ DeprecatedStorageQuotaCallbacksImpl(StorageUsageCallback*, StorageErrorCallback*);
+ DeprecatedStorageQuotaCallbacksImpl(StorageQuotaCallback*, StorageErrorCallback*);
- OwnPtrWillBeMember<StorageUsageCallback> m_usageCallback;
- OwnPtrWillBeMember<StorageQuotaCallback> m_quotaCallback;
- OwnPtrWillBeMember<StorageErrorCallback> m_errorCallback;
+ PersistentWillBeMember<StorageUsageCallback> m_usageCallback;
+ PersistentWillBeMember<StorageQuotaCallback> m_quotaCallback;
+ PersistentWillBeMember<StorageErrorCallback> m_errorCallback;
};
} // namespace blink
« no previous file with comments | « Source/modules/quota/DeprecatedStorageQuota.cpp ('k') | Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698