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

Unified Diff: Source/modules/indexeddb/IDBTransaction.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
« no previous file with comments | « Source/modules/indexeddb/IDBRequest.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBTransaction.h
diff --git a/Source/modules/indexeddb/IDBTransaction.h b/Source/modules/indexeddb/IDBTransaction.h
index 915823f75b1496930a2b39557146fcac9a373426..1d302699d81540937101bd89ccdff0cba3d5b66b 100644
--- a/Source/modules/indexeddb/IDBTransaction.h
+++ b/Source/modules/indexeddb/IDBTransaction.h
@@ -56,7 +56,7 @@ public:
static PassRefPtr<IDBTransaction> create(ScriptExecutionContext*, int64_t, IDBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata& previousMetadata);
virtual ~IDBTransaction();
- virtual void trace(Visitor*) { }
+ virtual void trace(Visitor*);
virtual void visitWith(Visitor* visitor) const OVERRIDE
{
@@ -82,7 +82,7 @@ public:
// Implement the IDBTransaction IDL
const String& mode() const;
- IDBDatabase* db() const { return m_database.get(); }
+ IDBDatabase* db() const { return m_database; }
PassRefPtr<DOMError> error() const { return m_error; }
PassRefPtr<IDBObjectStore> objectStore(const String& name, ExceptionCode&);
void abort(ExceptionCode&);
@@ -148,7 +148,7 @@ private:
};
int64_t m_id;
- RefPtr<IDBDatabase> m_database;
+ Member<IDBDatabase> m_database;
const Vector<String> m_objectStoreNames;
IDBOpenDBRequest* m_openDBRequest;
const IndexedDB::TransactionMode m_mode;
@@ -158,7 +158,7 @@ private:
RefPtr<DOMError> m_error;
String m_errorMessage;
- ListHashSet<RefPtr<IDBRequest> > m_requestList;
+ ListHashSet<Member<IDBRequest> > m_requestList;
typedef HashMap<String, RefPtr<IDBObjectStore> > IDBObjectStoreMap;
IDBObjectStoreMap m_objectStoreMap;
« no previous file with comments | « Source/modules/indexeddb/IDBRequest.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698