Index: Source/modules/indexeddb/IDBIndex.cpp |
diff --git a/Source/modules/indexeddb/IDBIndex.cpp b/Source/modules/indexeddb/IDBIndex.cpp |
index 2f53495ba386f8292830ecbcb6f0a5c9866e9366..c483d05b83236be278934ce900205c1658542c5d 100644 |
--- a/Source/modules/indexeddb/IDBIndex.cpp |
+++ b/Source/modules/indexeddb/IDBIndex.cpp |
@@ -60,10 +60,9 @@ IDBIndex::~IDBIndex() |
{ |
} |
-ScriptValue IDBIndex::keyPath(ExecutionContext* context) const |
+ScriptValue IDBIndex::keyPath(NewScriptState* scriptState) const |
{ |
- DOMRequestState requestState(toIsolate(context)); |
- return idbAnyToScriptValue(&requestState, IDBAny::create(m_metadata.keyPath)); |
+ return idbAnyToScriptValue(scriptState, IDBAny::create(m_metadata.keyPath)); |
} |
PassRefPtr<IDBRequest> IDBIndex::openCursor(ExecutionContext* context, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) |