Index: Source/modules/indexeddb/IDBObjectStore.cpp |
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp |
index a10dc53bf18ffe0146e7a4f1895ef3b0321ae970..5946722aa46e0a8634a49c759451209c6f87cd10 100644 |
--- a/Source/modules/indexeddb/IDBObjectStore.cpp |
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp |
@@ -30,7 +30,8 @@ |
#include "bindings/core/v8/ExceptionStatePlaceholder.h" |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/SerializedScriptValueFactory.h" |
-#include "bindings/modules/v8/IDBBindingUtilities.h" |
+#include "bindings/modules/v8/ToV8ForModules.h" |
+#include "bindings/modules/v8/V8BindingForModules.h" |
#include "core/dom/DOMStringList.h" |
#include "core/dom/ExceptionCode.h" |
#include "core/dom/ExecutionContext.h" |
@@ -72,7 +73,7 @@ DEFINE_TRACE(IDBObjectStore) |
ScriptValue IDBObjectStore::keyPath(ScriptState* scriptState) const |
{ |
- return idbKeyPathToScriptValue(scriptState, m_metadata.keyPath); |
+ return ScriptValue::from(scriptState, m_metadata.keyPath); |
} |
PassRefPtrWillBeRawPtr<DOMStringList> IDBObjectStore::indexNames() const |
@@ -154,7 +155,7 @@ IDBRequest* IDBObjectStore::put(ScriptState* scriptState, const ScriptValue& val |
IDBRequest* IDBObjectStore::put(ScriptState* scriptState, WebIDBPutMode putMode, IDBAny* source, const ScriptValue& value, const ScriptValue& keyValue, ExceptionState& exceptionState) |
{ |
- IDBKey* key = keyValue.isUndefined() ? nullptr : scriptValueToIDBKey(scriptState->isolate(), keyValue); |
+ IDBKey* key = keyValue.isUndefined() ? nullptr : script_value_cast<IDBKey*>(keyValue, scriptState->isolate(), exceptionState); |
return put(scriptState, putMode, source, value, key, exceptionState); |
} |