Index: Source/bindings/modules/v8/V8BindingForModulesTest.cpp |
diff --git a/Source/bindings/modules/v8/IDBBindingUtilitiesTest.cpp b/Source/bindings/modules/v8/V8BindingForModulesTest.cpp |
similarity index 97% |
rename from Source/bindings/modules/v8/IDBBindingUtilitiesTest.cpp |
rename to Source/bindings/modules/v8/V8BindingForModulesTest.cpp |
index b34abbccf50ceb0f66aaf76a8ccde11fbb8d0d06..f4aee33bcaf6129e65a91091f5365d16fcf48b93 100644 |
--- a/Source/bindings/modules/v8/IDBBindingUtilitiesTest.cpp |
+++ b/Source/bindings/modules/v8/V8BindingForModulesTest.cpp |
@@ -24,10 +24,11 @@ |
*/ |
#include "config.h" |
-#include "bindings/modules/v8/IDBBindingUtilities.h" |
+#include "bindings/modules/v8/V8BindingForModules.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8PerIsolateData.h" |
+#include "bindings/modules/v8/ToV8ForModules.h" |
#include "modules/indexeddb/IDBKey.h" |
#include "modules/indexeddb/IDBKeyPath.h" |
#include <gtest/gtest.h> |
@@ -53,7 +54,7 @@ bool injectKey(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const |
{ |
IDBKeyPath idbKeyPath(keyPath); |
EXPECT_TRUE(idbKeyPath.isValid()); |
- ScriptValue keyValue = idbKeyToScriptValue(scriptState, key); |
+ ScriptValue keyValue = ScriptValue::from(scriptState, key); |
return injectV8KeyIntoV8Value(scriptState->isolate(), keyValue.v8Value(), value.v8Value(), idbKeyPath); |
} |