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()) { |