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

Unified Diff: Source/modules/quota/StorageErrorCallback.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/StorageErrorCallback.h
diff --git a/Source/modules/quota/StorageErrorCallback.h b/Source/modules/quota/StorageErrorCallback.h
index b5d0d79a8740a311edc4c99186f74c0c79507149..1b40da9833c6940535e9068702077cc4bfa05114 100644
--- a/Source/modules/quota/StorageErrorCallback.h
+++ b/Source/modules/quota/StorageErrorCallback.h
@@ -42,7 +42,7 @@ class DOMError;
typedef int ExceptionCode;
-class StorageErrorCallback : public NoBaseWillBeGarbageCollectedFinalized<StorageErrorCallback> {
+class StorageErrorCallback : public GarbageCollectedFinalized<StorageErrorCallback> {
public:
virtual ~StorageErrorCallback() { }
virtual void trace(Visitor*) { }
@@ -50,7 +50,7 @@ public:
class CallbackTask FINAL : public ExecutionContextTask {
public:
- static PassOwnPtr<CallbackTask> create(PassOwnPtrWillBeRawPtr<StorageErrorCallback> callback, ExceptionCode ec)
+ static PassOwnPtr<CallbackTask> create(StorageErrorCallback* callback, ExceptionCode ec)
{
return adoptPtr(new CallbackTask(callback, ec));
}
@@ -58,9 +58,9 @@ public:
virtual void performTask(ExecutionContext*) OVERRIDE;
private:
- CallbackTask(PassOwnPtrWillBeRawPtr<StorageErrorCallback>, ExceptionCode);
+ CallbackTask(StorageErrorCallback*, ExceptionCode);
- OwnPtrWillBePersistent<StorageErrorCallback> m_callback;
+ Persistent<StorageErrorCallback> m_callback;
ExceptionCode m_ec;
};
};
« no previous file with comments | « Source/modules/quota/DeprecatedStorageQuotaCallbacksImpl.cpp ('k') | Source/modules/quota/StorageErrorCallback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698