| 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 c997e919ffcfd68be02977f8e17972d69211635b..2d6a95dfb051417b88896a2e2b11fe8ca1e8c953 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp
|
| @@ -143,7 +143,7 @@ IDBRequest* IDBIndex::openCursor(ScriptState* script_state,
|
| WebIDBCursorDirection direction =
|
| IDBCursor::StringToDirection(direction_string);
|
| IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
|
| - ExecutionContext::From(script_state), range, exception_state);
|
| + script_state->GetExecutionContext(), range, exception_state);
|
| if (exception_state.HadException())
|
| return nullptr;
|
|
|
| @@ -191,7 +191,7 @@ IDBRequest* IDBIndex::count(ScriptState* script_state,
|
| }
|
|
|
| IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
|
| - ExecutionContext::From(script_state), range, exception_state);
|
| + script_state->GetExecutionContext(), range, exception_state);
|
| if (exception_state.HadException())
|
| return nullptr;
|
|
|
| @@ -233,7 +233,7 @@ IDBRequest* IDBIndex::openKeyCursor(ScriptState* script_state,
|
| WebIDBCursorDirection direction =
|
| IDBCursor::StringToDirection(direction_string);
|
| IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
|
| - ExecutionContext::From(script_state), range, exception_state);
|
| + script_state->GetExecutionContext(), range, exception_state);
|
| if (exception_state.HadException())
|
| return nullptr;
|
| if (!BackendDB()) {
|
| @@ -319,7 +319,7 @@ IDBRequest* IDBIndex::GetInternal(ScriptState* script_state,
|
| }
|
|
|
| IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
|
| - ExecutionContext::From(script_state), key, exception_state);
|
| + script_state->GetExecutionContext(), key, exception_state);
|
| if (exception_state.HadException())
|
| return nullptr;
|
| if (!key_range) {
|
| @@ -367,7 +367,7 @@ IDBRequest* IDBIndex::GetAllInternal(ScriptState* script_state,
|
| }
|
|
|
| IDBKeyRange* key_range = IDBKeyRange::FromScriptValue(
|
| - ExecutionContext::From(script_state), range, exception_state);
|
| + script_state->GetExecutionContext(), range, exception_state);
|
| if (exception_state.HadException())
|
| return nullptr;
|
| if (!BackendDB()) {
|
|
|