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

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

Issue 2618753002: Revert of Prefer using ContextClient over ContextLifecycleObserver (Closed)
Patch Set: Created 3 years, 11 months 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: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
index 3f9a81e86ba765a4c2f39b34f00c4aabdf299ff8..7efb5056a6ec0411888cf7f1faa27a85436c41f2 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
@@ -97,7 +97,7 @@
const HashSet<String>& scope,
WebIDBTransactionMode mode,
IDBDatabase* db)
- : ContextClient(scriptState->getExecutionContext()),
+ : ContextLifecycleObserver(scriptState->getExecutionContext()),
m_id(id),
m_database(db),
m_mode(mode),
@@ -121,7 +121,7 @@
IDBDatabase* db,
IDBOpenDBRequest* openDBRequest,
const IDBDatabaseMetadata& oldMetadata)
- : ContextClient(executionContext),
+ : ContextLifecycleObserver(executionContext),
m_id(id),
m_database(db),
m_openDBRequest(openDBRequest),
@@ -149,7 +149,7 @@
visitor->trace(m_oldStoreMetadata);
visitor->trace(m_deletedIndexes);
EventTargetWithInlineData::trace(visitor);
- ContextClient::trace(visitor);
+ ContextLifecycleObserver::trace(visitor);
}
void IDBTransaction::setError(DOMException* error) {
@@ -452,7 +452,7 @@
}
ExecutionContext* IDBTransaction::getExecutionContext() const {
- return ContextClient::getExecutionContext();
+ return ContextLifecycleObserver::getExecutionContext();
}
DispatchEventResult IDBTransaction::dispatchEventInternal(Event* event) {

Powered by Google App Engine
This is Rietveld 408576698