Index: Source/bindings/tests/results/core/V8TestInterface2.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterface2.cpp b/Source/bindings/tests/results/core/V8TestInterface2.cpp |
index f1c001a673a176a5d699953a9e7b0008894f4a83..0cc9dab31802ee5058f37a98a8407a8d2541b8ef 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterface2.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterface2.cpp |
@@ -651,7 +651,7 @@ static void installV8TestInterface2Template(v8::Local<v8::FunctionTemplate> func |
ALLOW_UNUSED_LOCAL(prototypeTemplate); |
if (RuntimeEnabledFeatures::featureNameEnabled()) { |
static const V8DOMConfiguration::ConstantConfiguration constantConfiguration = {"CONST_VALUE_1", 1, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedShort}; |
- V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTemplate, &constantConfiguration, 1); |
+ V8DOMConfiguration::installConstant(isolate, functionTemplate, prototypeTemplate, constantConfiguration); |
} |
static_assert(1 == TestInterface2::CONST_VALUE_1, "the value of TestInterface2_CONST_VALUE_1 does not match with implementation"); |
{ |
@@ -663,7 +663,7 @@ static void installV8TestInterface2Template(v8::Local<v8::FunctionTemplate> func |
functionTemplate->InstanceTemplate()->SetHandler(config); |
} |
static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIteratorConfiguration = { v8::Symbol::GetIterator, TestInterface2V8Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; |
- V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::DontDelete, symbolKeyedIteratorConfiguration, isolate); |
+ V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignature, v8::DontDelete, symbolKeyedIteratorConfiguration); |
// Custom toString template |
functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate()); |