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

Unified Diff: Source/WebKit/chromium/src/WebIDBDatabaseCallbacksImpl.h

Issue 78053006: [oilpan] Move IDBDatabase, IDBDatabaseCallbacks, IDBDatabaseBackendInterface and other related clas… (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years 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/WebKit/chromium/src/WebIDBDatabaseCallbacksImpl.h
diff --git a/Source/WebKit/chromium/src/WebIDBDatabaseCallbacksImpl.h b/Source/WebKit/chromium/src/WebIDBDatabaseCallbacksImpl.h
index f1f47ae611857fc728619f272945d06571a85f46..05853c6c479f94faf89a45b1ab2ffb69e22e8d59 100644
--- a/Source/WebKit/chromium/src/WebIDBDatabaseCallbacksImpl.h
+++ b/Source/WebKit/chromium/src/WebIDBDatabaseCallbacksImpl.h
@@ -27,6 +27,7 @@
#define WebIDBDatabaseCallbacksImpl_h
#include "WebIDBDatabaseCallbacks.h"
+#include "heap/Handle.h"
#include <public/WebString.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
@@ -37,7 +38,7 @@ namespace WebKit {
class WebIDBDatabaseCallbacksImpl : public WebIDBDatabaseCallbacks {
public:
- WebIDBDatabaseCallbacksImpl(PassRefPtr<WebCore::IDBDatabaseCallbacks>);
+ WebIDBDatabaseCallbacksImpl(WebCore::IDBDatabaseCallbacks*);
virtual ~WebIDBDatabaseCallbacksImpl();
virtual void onForcedClose();
@@ -46,7 +47,7 @@ public:
virtual void onComplete(long long transactionId);
private:
- RefPtr<WebCore::IDBDatabaseCallbacks> m_callbacks;
+ WebCore::Persistent<WebCore::IDBDatabaseCallbacks> m_callbacks;
};
} // namespace WebKit
« no previous file with comments | « Source/WebKit/chromium/src/WebIDBCallbacksImpl.cpp ('k') | Source/WebKit/chromium/src/WebIDBDatabaseCallbacksImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698