Index: Source/modules/indexeddb/IDBFactory.cpp |
diff --git a/Source/modules/indexeddb/IDBFactory.cpp b/Source/modules/indexeddb/IDBFactory.cpp |
index 0f727cf55e576966bc8751d7a85b86f31da28040..4556364e5b47f90fcf5f672d2bcc7b242ae503d3 100644 |
--- a/Source/modules/indexeddb/IDBFactory.cpp |
+++ b/Source/modules/indexeddb/IDBFactory.cpp |
@@ -30,7 +30,7 @@ |
#include "modules/indexeddb/IDBFactory.h" |
#include "bindings/core/v8/ExceptionState.h" |
-#include "bindings/modules/v8/IDBBindingUtilities.h" |
+#include "bindings/modules/v8/V8BindingForModules.h" |
#include "core/dom/Document.h" |
#include "core/dom/ExceptionCode.h" |
#include "modules/indexeddb/IDBDatabase.h" |
@@ -155,8 +155,8 @@ IDBOpenDBRequest* IDBFactory::deleteDatabase(ScriptState* scriptState, const Str |
short IDBFactory::cmp(ScriptState* scriptState, const ScriptValue& firstValue, const ScriptValue& secondValue, ExceptionState& exceptionState) |
{ |
- IDBKey* first = scriptValueToIDBKey(scriptState->isolate(), firstValue); |
- IDBKey* second = scriptValueToIDBKey(scriptState->isolate(), secondValue); |
+ IDBKey* first = script_value_cast<IDBKey*>(firstValue, scriptState->isolate(), exceptionState); |
+ IDBKey* second = script_value_cast<IDBKey*>(secondValue, scriptState->isolate(), exceptionState); |
ASSERT(first); |
ASSERT(second); |