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

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

Issue 2816543002: Move ScriptState::GetExecutionContext (Part 5) (Closed)
Patch Set: Rebase Created 3 years, 8 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 3c9e699a9bf55d625b62cb088feb619dbe08ad2c..40af72287f6d8c09bac5373a87c9257c85a06f04 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
@@ -125,7 +125,7 @@ IDBTransaction::IDBTransaction(ScriptState* script_state,
const HashSet<String>& scope,
WebIDBTransactionMode mode,
IDBDatabase* db)
- : ContextLifecycleObserver(script_state->GetExecutionContext()),
+ : ContextLifecycleObserver(ExecutionContext::From(script_state)),
id_(id),
database_(db),
mode_(mode),

Powered by Google App Engine
This is Rietveld 408576698