Index: Source/bindings/core/v8/SerializedScriptValueTest.cpp |
diff --git a/Source/bindings/core/v8/SerializedScriptValueTest.cpp b/Source/bindings/core/v8/SerializedScriptValueTest.cpp |
index b29ba9a5784dc487c98d24a83e268a883d55181e..700d4f7a66bb20b2577f7068fa4c884d5bf64b7e 100644 |
--- a/Source/bindings/core/v8/SerializedScriptValueTest.cpp |
+++ b/Source/bindings/core/v8/SerializedScriptValueTest.cpp |
@@ -42,7 +42,7 @@ TEST_F(SerializedScriptValueTest, UserSelectedFile) |
v8::Local<v8::Value> v8OriginalFile = toV8(originalFile, creationContext(), isolate()); |
RefPtr<SerializedScriptValue> serializedScriptValue = |
- SerializedScriptValueFactory::instance().create(v8OriginalFile, nullptr, nullptr, ASSERT_NO_EXCEPTION, isolate()); |
+ SerializedScriptValueFactory::instance().create(isolate(), v8OriginalFile, nullptr, nullptr, ASSERT_NO_EXCEPTION); |
v8::Local<v8::Value> v8File = serializedScriptValue->deserialize(isolate()); |
ASSERT_TRUE(V8File::hasInstance(v8File, isolate())); |
@@ -62,7 +62,7 @@ TEST_F(SerializedScriptValueTest, FileConstructorFile) |
v8::Local<v8::Value> v8OriginalFile = toV8(originalFile, creationContext(), isolate()); |
RefPtr<SerializedScriptValue> serializedScriptValue = |
- SerializedScriptValueFactory::instance().create(v8OriginalFile, nullptr, nullptr, ASSERT_NO_EXCEPTION, isolate()); |
+ SerializedScriptValueFactory::instance().create(isolate(), v8OriginalFile, nullptr, nullptr, ASSERT_NO_EXCEPTION); |
v8::Local<v8::Value> v8File = serializedScriptValue->deserialize(isolate()); |
ASSERT_TRUE(V8File::hasInstance(v8File, isolate())); |