Index: Source/modules/indexeddb/IDBObjectStore.cpp |
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp |
index bb1ddee2e7118ae9649246a9a01ac121928b810a..c6a959da76fdf85677005f12eb08917164b7eae4 100644 |
--- a/Source/modules/indexeddb/IDBObjectStore.cpp |
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp |
@@ -30,6 +30,7 @@ |
#include "bindings/core/v8/ExceptionStatePlaceholder.h" |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/SerializedScriptValueFactory.h" |
+#include "bindings/modules/v8/ToV8ForModules.h" |
#include "bindings/modules/v8/V8BindingForModules.h" |
#include "core/dom/DOMStringList.h" |
#include "core/dom/ExceptionCode.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 |