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

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, 1 month 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/indexeddb/IDBTransaction.h
diff --git a/Source/modules/indexeddb/IDBTransaction.h b/Source/modules/indexeddb/IDBTransaction.h
index 81cfd5508661981705eaa0d4b3a6b3da84a64915..4f7af71a80b414a9959a6ac53e0daf1f8e486395 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;

Powered by Google App Engine
This is Rietveld 408576698