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

Unified Diff: Source/WebKit/chromium/src/WebIDBCallbacksImpl.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/WebIDBCallbacksImpl.h
diff --git a/Source/WebKit/chromium/src/WebIDBCallbacksImpl.h b/Source/WebKit/chromium/src/WebIDBCallbacksImpl.h
index f5d806c5aa38d17caa0bdbb4143a19077688949c..faeae76272417bfb9a71f74ac902e380b7a7e17e 100644
--- a/Source/WebKit/chromium/src/WebIDBCallbacksImpl.h
+++ b/Source/WebKit/chromium/src/WebIDBCallbacksImpl.h
@@ -27,6 +27,7 @@
#define WebIDBCallbacksImpl_h
#include "WebIDBCallbacks.h"
+#include "heap/Handle.h"
#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
@@ -41,7 +42,7 @@ namespace WebKit {
class WebIDBCallbacksImpl : public WebIDBCallbacks {
public:
- WebIDBCallbacksImpl(PassRefPtr<WebCore::IDBCallbacks>);
+ WebIDBCallbacksImpl(WebCore::IDBCallbacks*);
virtual ~WebIDBCallbacksImpl();
virtual void onError(const WebIDBDatabaseError&);
@@ -58,8 +59,8 @@ public:
virtual void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const WebIDBMetadata&);
private:
- RefPtr<WebCore::IDBCallbacks> m_callbacks;
- RefPtr<WebCore::IDBDatabaseBackendInterface> m_databaseProxy;
+ WebCore::Persistent<WebCore::IDBCallbacks> m_callbacks;
+ WebCore::Persistent<WebCore::IDBDatabaseBackendInterface> m_databaseProxy;
};
} // namespace WebKit
« no previous file with comments | « Source/WebKit/chromium/src/IDBFactoryBackendProxy.cpp ('k') | Source/WebKit/chromium/src/WebIDBCallbacksImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698