Index: Source/modules/indexeddb/IDBKeyRange.cpp |
diff --git a/Source/modules/indexeddb/IDBKeyRange.cpp b/Source/modules/indexeddb/IDBKeyRange.cpp |
index a02ec4b1db78063668085a16145a9724b0463206..0b923a8cf6bee458a2e380dbc770313f80f35792 100644 |
--- a/Source/modules/indexeddb/IDBKeyRange.cpp |
+++ b/Source/modules/indexeddb/IDBKeyRange.cpp |
@@ -62,16 +62,14 @@ IDBKeyRange::IDBKeyRange(PassRefPtr<IDBKey> lower, PassRefPtr<IDBKey> upper, Low |
ScriptWrappable::init(this); |
} |
-ScriptValue IDBKeyRange::lowerValue(ExecutionContext* context) const |
+ScriptValue IDBKeyRange::lowerValue(NewScriptState* scriptState) const |
{ |
- DOMRequestState requestState(toIsolate(context)); |
- return idbKeyToScriptValue(&requestState, m_lower); |
+ return idbKeyToScriptValue(scriptState, m_lower); |
} |
-ScriptValue IDBKeyRange::upperValue(ExecutionContext* context) const |
+ScriptValue IDBKeyRange::upperValue(NewScriptState* scriptState) const |
{ |
- DOMRequestState requestState(toIsolate(context)); |
- return idbKeyToScriptValue(&requestState, m_upper); |
+ return idbKeyToScriptValue(scriptState, m_upper); |
} |
PassRefPtr<IDBKeyRange> IDBKeyRange::only(PassRefPtr<IDBKey> prpKey, ExceptionState& exceptionState) |