Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp |
index 401b819b68d32a321c9bcc29781d7a58cac3f319..3b8d3badebd3a6e9272bcc28edcbfd73f32e7c1f 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp |
@@ -11995,7 +11995,9 @@ static void installV8TestObjectTemplate(v8::Isolate* isolate, const DOMWrapperWo |
V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototypeTemplate, interfaceTemplate, signature, partiallyRuntimeEnabledOverloadedVoidMethodMethodConfiguration); |
} |
-void V8TestObject::installFeatureName(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> interface) { |
+void V8TestObject::installFeatureName(const ScriptState* scriptState, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> interface) { |
+ v8::Isolate* isolate = scriptState->isolate(); |
+ const DOMWrapperWorld& world = scriptState->world(); |
v8::Local<v8::FunctionTemplate> interfaceTemplate = V8TestObject::wrapperTypeInfo.domTemplate(isolate, world); |
v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemplate); |
ALLOW_UNUSED_LOCAL(signature); |
@@ -12009,15 +12011,15 @@ void V8TestObject::installFeatureName(v8::Isolate* isolate, const DOMWrapperWorl |
V8DOMConfiguration::installMethod(isolate, world, instance, prototype, interface, signature, methodPerworldbindingsorigintrialenabledvoidmethodConfiguration); |
} |
-void V8TestObject::installFeatureName(ScriptState* scriptState, v8::Local<v8::Object> instance) { |
+void V8TestObject::installFeatureName(const ScriptState* scriptState, v8::Local<v8::Object> instance) { |
V8PerContextData* perContextData = V8PerContextData::from(scriptState->context()); |
v8::Local<v8::Object> prototype = perContextData->prototypeForType(&V8TestObject::wrapperTypeInfo); |
v8::Local<v8::Function> interface = perContextData->constructorForType(&V8TestObject::wrapperTypeInfo); |
ALLOW_UNUSED_LOCAL(interface); |
- installFeatureName(scriptState->isolate(), scriptState->world(), instance, prototype, interface); |
+ installFeatureName(scriptState, instance, prototype, interface); |
} |
-void V8TestObject::installFeatureName(ScriptState* scriptState) { |
+void V8TestObject::installFeatureName(const ScriptState* scriptState) { |
installFeatureName(scriptState, v8::Local<v8::Object>()); |
} |
v8::Local<v8::FunctionTemplate> V8TestObject::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world) { |