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

Unified Diff: Source/modules/indexeddb/IDBTransaction.cpp

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/IDBTransaction.h ('k') | Source/modules/indexeddb/IDBTransactionBackendImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBTransaction.cpp
diff --git a/Source/modules/indexeddb/IDBTransaction.cpp b/Source/modules/indexeddb/IDBTransaction.cpp
index c00ffb2143d6018eb33fda5e0a1cc516ea2e6a59..4e763674d13cc2430fe2aac385b566a9bcc8b9d7 100644
--- a/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/Source/modules/indexeddb/IDBTransaction.cpp
@@ -220,7 +220,7 @@ void IDBTransaction::abort(ExceptionCode& ec)
if (!m_contextStopped) {
while (!m_requestList.isEmpty()) {
- RefPtr<IDBRequest> request = *m_requestList.begin();
+ IDBRequest* request = *m_requestList.begin();
m_requestList.remove(request);
request->abort();
}
@@ -297,7 +297,7 @@ void IDBTransaction::onAbort(PassRefPtr<IDBDatabaseError> prpError)
// Abort was not triggered by front-end, so outstanding requests must
// be aborted now.
while (!m_requestList.isEmpty()) {
- RefPtr<IDBRequest> request = *m_requestList.begin();
+ IDBRequest* request = *m_requestList.begin();
m_requestList.remove(request);
request->abort();
}
@@ -458,4 +458,10 @@ IDBDatabaseBackendInterface* IDBTransaction::backendDB() const
return db()->backend();
}
+void IDBTransaction::trace(Visitor* visitor)
+{
+ visitor->trace(m_database);
+ visitor->trace(m_requestList);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/modules/indexeddb/IDBTransaction.h ('k') | Source/modules/indexeddb/IDBTransactionBackendImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698