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 0170a98c1429ae2ffc6df1b11462ba5fbd5da947..b7340d45bea08582783a02724dc601e0cef26b57 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp |
@@ -85,7 +85,7 @@ IDBRequest* IDBIndex::openCursor(ScriptState* scriptState, const ScriptValue& ra |
return nullptr; |
} |
WebIDBCursorDirection direction = IDBCursor::stringToDirection(directionString); |
- IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState); |
+ IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->getExecutionContext(), range, exceptionState); |
if (exceptionState.hadException()) |
return nullptr; |
@@ -121,7 +121,7 @@ IDBRequest* IDBIndex::count(ScriptState* scriptState, const ScriptValue& range, |
return nullptr; |
} |
- IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState); |
+ IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->getExecutionContext(), range, exceptionState); |
if (exceptionState.hadException()) |
return nullptr; |
@@ -151,7 +151,7 @@ IDBRequest* IDBIndex::openKeyCursor(ScriptState* scriptState, const ScriptValue& |
return nullptr; |
} |
WebIDBCursorDirection direction = IDBCursor::stringToDirection(directionString); |
- IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState); |
+ IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->getExecutionContext(), range, exceptionState); |
if (exceptionState.hadException()) |
return nullptr; |
if (!backendDB()) { |
@@ -214,7 +214,7 @@ IDBRequest* IDBIndex::getInternal(ScriptState* scriptState, const ScriptValue& k |
return nullptr; |
} |
- IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), key, exceptionState); |
+ IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->getExecutionContext(), key, exceptionState); |
if (exceptionState.hadException()) |
return nullptr; |
if (!keyRange) { |
@@ -249,7 +249,7 @@ IDBRequest* IDBIndex::getAllInternal(ScriptState* scriptState, const ScriptValue |
return nullptr; |
} |
- IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState); |
+ IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->getExecutionContext(), range, exceptionState); |
if (exceptionState.hadException()) |
return nullptr; |
if (!backendDB()) { |