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

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

Issue 2815313002: Reland of Move ScriptState::GetExecutionContext (Part 5) (Closed)
Patch Set: 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/IDBIndex.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp
index 2d6a95dfb051417b88896a2e2b11fe8ca1e8c953..c997e919ffcfd68be02977f8e17972d69211635b 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp
@@ -143,7 +143,7 @@
WebIDBCursorDirection direction =
IDBCursor::StringToDirection(direction_string);
IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
- script_state->GetExecutionContext(), range, exception_state);
+ ExecutionContext::From(script_state), range, exception_state);
if (exception_state.HadException())
return nullptr;
@@ -191,7 +191,7 @@
}
IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
- script_state->GetExecutionContext(), range, exception_state);
+ ExecutionContext::From(script_state), range, exception_state);
if (exception_state.HadException())
return nullptr;
@@ -233,7 +233,7 @@
WebIDBCursorDirection direction =
IDBCursor::StringToDirection(direction_string);
IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
- script_state->GetExecutionContext(), range, exception_state);
+ ExecutionContext::From(script_state), range, exception_state);
if (exception_state.HadException())
return nullptr;
if (!BackendDB()) {
@@ -319,7 +319,7 @@
}
IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
- script_state->GetExecutionContext(), key, exception_state);
+ ExecutionContext::From(script_state), key, exception_state);
if (exception_state.HadException())
return nullptr;
if (!key_range) {
@@ -367,7 +367,7 @@
}
IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
- script_state->GetExecutionContext(), range, exception_state);
+ ExecutionContext::From(script_state), range, exception_state);
if (exception_state.HadException())
return nullptr;
if (!BackendDB()) {

Powered by Google App Engine
This is Rietveld 408576698