Index: Source/modules/indexeddb/IDBIndex.cpp |
diff --git a/Source/modules/indexeddb/IDBIndex.cpp b/Source/modules/indexeddb/IDBIndex.cpp |
index e64118b84abd4760056cb0abb5e7d5150240945c..281364b653db2f6a3571dbb0d5322d87203665c0 100644 |
--- a/Source/modules/indexeddb/IDBIndex.cpp |
+++ b/Source/modules/indexeddb/IDBIndex.cpp |
@@ -27,6 +27,7 @@ |
#include "modules/indexeddb/IDBIndex.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/modules/v8/ToV8ForModules.h" |
#include "bindings/modules/v8/V8BindingForModules.h" |
#include "core/dom/ExceptionCode.h" |
#include "core/dom/ExecutionContext.h" |
@@ -67,7 +68,7 @@ DEFINE_TRACE(IDBIndex) |
ScriptValue IDBIndex::keyPath(ScriptState* scriptState) const |
{ |
- return idbKeyPathToScriptValue(scriptState, m_metadata.keyPath); |
+ return ScriptValue::from(scriptState, m_metadata.keyPath); |
} |
IDBRequest* IDBIndex::openCursor(ScriptState* scriptState, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) |