Index: Source/modules/indexeddb/IDBRequest.cpp |
diff --git a/Source/modules/indexeddb/IDBRequest.cpp b/Source/modules/indexeddb/IDBRequest.cpp |
index 8bee036601a4fdde181e7d1b6f41eadef91a8483..de9692b55b3fbd82c951ebae9e979f10c8aadd39 100644 |
--- a/Source/modules/indexeddb/IDBRequest.cpp |
+++ b/Source/modules/indexeddb/IDBRequest.cpp |
@@ -31,6 +31,7 @@ |
#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/ExceptionStatePlaceholder.h" |
+#include "bindings/modules/v8/ToV8ForModules.h" |
#include "bindings/modules/v8/V8BindingForModules.h" |
#include "core/dom/ExecutionContext.h" |
#include "core/events/EventQueue.h" |
@@ -104,7 +105,7 @@ ScriptValue IDBRequest::result(ExceptionState& exceptionState) |
if (m_contextStopped || !executionContext()) |
return ScriptValue(); |
m_resultDirty = false; |
- ScriptValue value = idbAnyToScriptValue(m_scriptState.get(), m_result); |
+ ScriptValue value = ScriptValue::from(m_scriptState.get(), m_result); |
return value; |
} |
@@ -122,7 +123,7 @@ ScriptValue IDBRequest::source() const |
if (m_contextStopped || !executionContext()) |
return ScriptValue(); |
- return idbAnyToScriptValue(m_scriptState.get(), m_source); |
+ return ScriptValue::from(m_scriptState.get(), m_source); |
} |
const String& IDBRequest::readyState() const |