| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
 | 
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
 | 
| index c5231aa5a72a8a56de8bb7367d88fbc7e3773de5..0bbd855d4e7ea379dd2c204803e316cbb5e22407 100644
 | 
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
 | 
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
 | 
| @@ -53,313 +53,277 @@ static_assert(
 | 
|  
 | 
|  namespace TestInterfaceNodeV8Internal {
 | 
|  
 | 
| -static void nodeNameAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| +static void nodeNameAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    v8SetReturnValueString(info, impl->nodeName(), info.GetIsolate());
 | 
| +  v8SetReturnValueString(info, impl->nodeName(), info.GetIsolate());
 | 
|  }
 | 
|  
 | 
| -void nodeNameAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::nodeNameAttributeGetter(info);
 | 
| +void nodeNameAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::nodeNameAttributeGetter(info);
 | 
|  }
 | 
|  
 | 
| -static void nodeNameAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +static void nodeNameAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    // Prepare the value to be set.
 | 
| -    V8StringResource<> cppValue = v8Value;
 | 
| -    if (!cppValue.prepare())
 | 
| -        return;
 | 
| +  // Prepare the value to be set.
 | 
| +  V8StringResource<> cppValue = v8Value;
 | 
| +  if (!cppValue.prepare())
 | 
| +    return;
 | 
|  
 | 
| -    impl->setNodeName(cppValue);
 | 
| +  impl->setNodeName(cppValue);
 | 
|  }
 | 
|  
 | 
| -void nodeNameAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Value> v8Value = info[0];
 | 
| +void nodeNameAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Value> v8Value = info[0];
 | 
|  
 | 
| -    TestInterfaceNodeV8Internal::nodeNameAttributeSetter(v8Value, info);
 | 
| +  TestInterfaceNodeV8Internal::nodeNameAttributeSetter(v8Value, info);
 | 
|  }
 | 
|  
 | 
| -static void stringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| +static void stringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    v8SetReturnValueString(info, impl->stringAttribute(), info.GetIsolate());
 | 
| +  v8SetReturnValueString(info, impl->stringAttribute(), info.GetIsolate());
 | 
|  }
 | 
|  
 | 
| -void stringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::stringAttributeAttributeGetter(info);
 | 
| +void stringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::stringAttributeAttributeGetter(info);
 | 
|  }
 | 
|  
 | 
| -static void stringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +static void stringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    // Prepare the value to be set.
 | 
| -    V8StringResource<> cppValue = v8Value;
 | 
| -    if (!cppValue.prepare())
 | 
| -        return;
 | 
| +  // Prepare the value to be set.
 | 
| +  V8StringResource<> cppValue = v8Value;
 | 
| +  if (!cppValue.prepare())
 | 
| +    return;
 | 
|  
 | 
| -    impl->setStringAttribute(cppValue);
 | 
| +  impl->setStringAttribute(cppValue);
 | 
|  }
 | 
|  
 | 
| -void stringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Value> v8Value = info[0];
 | 
| +void stringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Value> v8Value = info[0];
 | 
|  
 | 
| -    TestInterfaceNodeV8Internal::stringAttributeAttributeSetter(v8Value, info);
 | 
| +  TestInterfaceNodeV8Internal::stringAttributeAttributeSetter(v8Value, info);
 | 
|  }
 | 
|  
 | 
| -static void readonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| +static void readonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    v8SetReturnValueFast(info, WTF::getPtr(impl->readonlyTestInterfaceEmptyAttribute()), impl);
 | 
| +  v8SetReturnValueFast(info, WTF::getPtr(impl->readonlyTestInterfaceEmptyAttribute()), impl);
 | 
|  }
 | 
|  
 | 
| -void readonlyTestInterfaceEmptyAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::readonlyTestInterfaceEmptyAttributeAttributeGetter(info);
 | 
| +void readonlyTestInterfaceEmptyAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::readonlyTestInterfaceEmptyAttributeAttributeGetter(info);
 | 
|  }
 | 
|  
 | 
| -static void eventHandlerAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| +static void eventHandlerAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    EventListener* cppValue(WTF::getPtr(impl->eventHandlerAttribute()));
 | 
| +  EventListener* cppValue(WTF::getPtr(impl->eventHandlerAttribute()));
 | 
|  
 | 
| -    v8SetReturnValue(info, cppValue ? V8AbstractEventListener::cast(cppValue)->getListenerOrNull(info.GetIsolate(), impl->getExecutionContext()) : v8::Null(info.GetIsolate()).As<v8::Value>());
 | 
| +  v8SetReturnValue(info, cppValue ? V8AbstractEventListener::cast(cppValue)->getListenerOrNull(info.GetIsolate(), impl->getExecutionContext()) : v8::Null(info.GetIsolate()).As<v8::Value>());
 | 
|  }
 | 
|  
 | 
| -void eventHandlerAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::eventHandlerAttributeAttributeGetter(info);
 | 
| +void eventHandlerAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::eventHandlerAttributeAttributeGetter(info);
 | 
|  }
 | 
|  
 | 
| -static void eventHandlerAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +static void eventHandlerAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    // Prepare the value to be set.
 | 
| +  // Prepare the value to be set.
 | 
|  
 | 
| -    impl->setEventHandlerAttribute(V8EventListenerHelper::getEventListener(ScriptState::forReceiverObject(info), v8Value, true, ListenerFindOrCreate));
 | 
| +  impl->setEventHandlerAttribute(V8EventListenerHelper::getEventListener(ScriptState::forReceiverObject(info), v8Value, true, ListenerFindOrCreate));
 | 
|  }
 | 
|  
 | 
| -void eventHandlerAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Value> v8Value = info[0];
 | 
| +void eventHandlerAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Value> v8Value = info[0];
 | 
|  
 | 
| -    TestInterfaceNodeV8Internal::eventHandlerAttributeAttributeSetter(v8Value, info);
 | 
| +  TestInterfaceNodeV8Internal::eventHandlerAttributeAttributeSetter(v8Value, info);
 | 
|  }
 | 
|  
 | 
| -static void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| +static void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    v8SetReturnValueFast(info, WTF::getPtr(impl->perWorldBindingsReadonlyTestInterfaceEmptyAttribute()), impl);
 | 
| +  v8SetReturnValueFast(info, WTF::getPtr(impl->perWorldBindingsReadonlyTestInterfaceEmptyAttribute()), impl);
 | 
|  }
 | 
|  
 | 
| -void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetter(info);
 | 
| +void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetter(info);
 | 
|  }
 | 
|  
 | 
| -static void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| +static void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    v8SetReturnValueForMainWorld(info, WTF::getPtr(impl->perWorldBindingsReadonlyTestInterfaceEmptyAttribute()));
 | 
| +  v8SetReturnValueForMainWorld(info, WTF::getPtr(impl->perWorldBindingsReadonlyTestInterfaceEmptyAttribute()));
 | 
|  }
 | 
|  
 | 
| -void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallbackForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterForMainWorld(info);
 | 
| +void perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallbackForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterForMainWorld(info);
 | 
|  }
 | 
|  
 | 
| -static void reflectStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| +static void reflectStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    v8SetReturnValueString(info, impl->fastGetAttribute(HTMLNames::reflectstringattributeAttr), info.GetIsolate());
 | 
| +  v8SetReturnValueString(info, impl->fastGetAttribute(HTMLNames::reflectstringattributeAttr), info.GetIsolate());
 | 
|  }
 | 
|  
 | 
| -void reflectStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::reflectStringAttributeAttributeGetter(info);
 | 
| +void reflectStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::reflectStringAttributeAttributeGetter(info);
 | 
|  }
 | 
|  
 | 
| -static void reflectStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +static void reflectStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    // Prepare the value to be set.
 | 
| -    V8StringResource<> cppValue = v8Value;
 | 
| -    if (!cppValue.prepare())
 | 
| -        return;
 | 
| +  // Prepare the value to be set.
 | 
| +  V8StringResource<> cppValue = v8Value;
 | 
| +  if (!cppValue.prepare())
 | 
| +    return;
 | 
|  
 | 
| -    impl->setAttribute(HTMLNames::reflectstringattributeAttr, cppValue);
 | 
| +  impl->setAttribute(HTMLNames::reflectstringattributeAttr, cppValue);
 | 
|  }
 | 
|  
 | 
| -void reflectStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Value> v8Value = info[0];
 | 
| +void reflectStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Value> v8Value = info[0];
 | 
|  
 | 
| -    V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
 | 
| +  V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
 | 
|  
 | 
| -    TestInterfaceNodeV8Internal::reflectStringAttributeAttributeSetter(v8Value, info);
 | 
| +  TestInterfaceNodeV8Internal::reflectStringAttributeAttributeSetter(v8Value, info);
 | 
|  }
 | 
|  
 | 
| -static void reflectUrlStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| +static void reflectUrlStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    v8SetReturnValueString(info, impl->getURLAttribute(HTMLNames::reflecturlstringattributeAttr), info.GetIsolate());
 | 
| +  v8SetReturnValueString(info, impl->getURLAttribute(HTMLNames::reflecturlstringattributeAttr), info.GetIsolate());
 | 
|  }
 | 
|  
 | 
| -void reflectUrlStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::reflectUrlStringAttributeAttributeGetter(info);
 | 
| +void reflectUrlStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::reflectUrlStringAttributeAttributeGetter(info);
 | 
|  }
 | 
|  
 | 
| -static void reflectUrlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
| +static void reflectUrlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(holder);
 | 
|  
 | 
| -    // Prepare the value to be set.
 | 
| -    V8StringResource<> cppValue = v8Value;
 | 
| -    if (!cppValue.prepare())
 | 
| -        return;
 | 
| +  // Prepare the value to be set.
 | 
| +  V8StringResource<> cppValue = v8Value;
 | 
| +  if (!cppValue.prepare())
 | 
| +    return;
 | 
|  
 | 
| -    impl->setAttribute(HTMLNames::reflecturlstringattributeAttr, cppValue);
 | 
| +  impl->setAttribute(HTMLNames::reflecturlstringattributeAttr, cppValue);
 | 
|  }
 | 
|  
 | 
| -void reflectUrlStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Value> v8Value = info[0];
 | 
| +void reflectUrlStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Value> v8Value = info[0];
 | 
|  
 | 
| -    V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
 | 
| +  V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
 | 
|  
 | 
| -    TestInterfaceNodeV8Internal::reflectUrlStringAttributeAttributeSetter(v8Value, info);
 | 
| +  TestInterfaceNodeV8Internal::reflectUrlStringAttributeAttributeSetter(v8Value, info);
 | 
|  }
 | 
|  
 | 
| -static void testInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
| +static void testInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
|  
 | 
| -    v8SetReturnValueFast(info, impl->testInterfaceEmptyMethod(), impl);
 | 
| +  v8SetReturnValueFast(info, impl->testInterfaceEmptyMethod(), impl);
 | 
|  }
 | 
|  
 | 
| -void testInterfaceEmptyMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::testInterfaceEmptyMethodMethod(info);
 | 
| +void testInterfaceEmptyMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::testInterfaceEmptyMethodMethod(info);
 | 
|  }
 | 
|  
 | 
| -static void perWorldBindingsTestInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
| +static void perWorldBindingsTestInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
|  
 | 
| -    v8SetReturnValueFast(info, impl->perWorldBindingsTestInterfaceEmptyMethod(), impl);
 | 
| +  v8SetReturnValueFast(info, impl->perWorldBindingsTestInterfaceEmptyMethod(), impl);
 | 
|  }
 | 
|  
 | 
| -void perWorldBindingsTestInterfaceEmptyMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodMethod(info);
 | 
| +void perWorldBindingsTestInterfaceEmptyMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodMethod(info);
 | 
|  }
 | 
|  
 | 
| -static void perWorldBindingsTestInterfaceEmptyMethodMethodForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
| +static void perWorldBindingsTestInterfaceEmptyMethodMethodForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
|  
 | 
| -    v8SetReturnValueForMainWorld(info, impl->perWorldBindingsTestInterfaceEmptyMethod());
 | 
| +  v8SetReturnValueForMainWorld(info, impl->perWorldBindingsTestInterfaceEmptyMethod());
 | 
|  }
 | 
|  
 | 
| -void perWorldBindingsTestInterfaceEmptyMethodMethodCallbackForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodMethodForMainWorld(info);
 | 
| +void perWorldBindingsTestInterfaceEmptyMethodMethodCallbackForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodMethodForMainWorld(info);
 | 
|  }
 | 
|  
 | 
| -static void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterfaceNode", "perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg");
 | 
| +static void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterfaceNode", "perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg");
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
|  
 | 
| -    bool optionalBooleanArgument;
 | 
| -    int numArgsPassed = info.Length();
 | 
| -    while (numArgsPassed > 0) {
 | 
| -        if (!info[numArgsPassed - 1]->IsUndefined())
 | 
| -            break;
 | 
| -        --numArgsPassed;
 | 
| -    }
 | 
| -    if (UNLIKELY(numArgsPassed <= 0)) {
 | 
| -        v8SetReturnValueFast(info, impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg(), impl);
 | 
| -        return;
 | 
| -    }
 | 
| -    optionalBooleanArgument = toBoolean(info.GetIsolate(), info[0], exceptionState);
 | 
| -    if (exceptionState.hadException())
 | 
| -        return;
 | 
| +  bool optionalBooleanArgument;
 | 
| +  int numArgsPassed = info.Length();
 | 
| +  while (numArgsPassed > 0) {
 | 
| +    if (!info[numArgsPassed - 1]->IsUndefined())
 | 
| +      break;
 | 
| +    --numArgsPassed;
 | 
| +  }
 | 
| +  if (UNLIKELY(numArgsPassed <= 0)) {
 | 
| +    v8SetReturnValueFast(info, impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg(), impl);
 | 
| +    return;
 | 
| +  }
 | 
| +  optionalBooleanArgument = toBoolean(info.GetIsolate(), info[0], exceptionState);
 | 
| +  if (exceptionState.hadException())
 | 
| +    return;
 | 
|  
 | 
| -    v8SetReturnValueFast(info, impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg(optionalBooleanArgument), impl);
 | 
| +  v8SetReturnValueFast(info, impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg(optionalBooleanArgument), impl);
 | 
|  }
 | 
|  
 | 
| -void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethod(info);
 | 
| +void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethod(info);
 | 
|  }
 | 
|  
 | 
| -static void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterfaceNode", "perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg");
 | 
| +static void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "TestInterfaceNode", "perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg");
 | 
|  
 | 
| -    TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
| +  TestInterfaceNode* impl = V8TestInterfaceNode::toImpl(info.Holder());
 | 
|  
 | 
| -    bool optionalBooleanArgument;
 | 
| -    int numArgsPassed = info.Length();
 | 
| -    while (numArgsPassed > 0) {
 | 
| -        if (!info[numArgsPassed - 1]->IsUndefined())
 | 
| -            break;
 | 
| -        --numArgsPassed;
 | 
| -    }
 | 
| -    if (UNLIKELY(numArgsPassed <= 0)) {
 | 
| -        v8SetReturnValueForMainWorld(info, impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg());
 | 
| -        return;
 | 
| -    }
 | 
| -    optionalBooleanArgument = toBoolean(info.GetIsolate(), info[0], exceptionState);
 | 
| -    if (exceptionState.hadException())
 | 
| -        return;
 | 
| +  bool optionalBooleanArgument;
 | 
| +  int numArgsPassed = info.Length();
 | 
| +  while (numArgsPassed > 0) {
 | 
| +    if (!info[numArgsPassed - 1]->IsUndefined())
 | 
| +      break;
 | 
| +    --numArgsPassed;
 | 
| +  }
 | 
| +  if (UNLIKELY(numArgsPassed <= 0)) {
 | 
| +    v8SetReturnValueForMainWorld(info, impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg());
 | 
| +    return;
 | 
| +  }
 | 
| +  optionalBooleanArgument = toBoolean(info.GetIsolate(), info[0], exceptionState);
 | 
| +  if (exceptionState.hadException())
 | 
| +    return;
 | 
|  
 | 
| -    v8SetReturnValueForMainWorld(info, impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg(optionalBooleanArgument));
 | 
| +  v8SetReturnValueForMainWorld(info, impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg(optionalBooleanArgument));
 | 
|  }
 | 
|  
 | 
| -void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodCallbackForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodForMainWorld(info);
 | 
| +void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodCallbackForMainWorld(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodForMainWorld(info);
 | 
|  }
 | 
|  
 | 
|  } // namespace TestInterfaceNodeV8Internal
 | 
| @@ -380,39 +344,34 @@ const V8DOMConfiguration::MethodConfiguration V8TestInterfaceNodeMethods[] = {
 | 
|      {"perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg", TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodCallback, TestInterfaceNodeV8Internal::perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodCallbackForMainWorld, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype},
 | 
|  };
 | 
|  
 | 
| -static void installV8TestInterfaceNodeTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate)
 | 
| -{
 | 
| -    // Initialize the interface object's template.
 | 
| -    V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterfaceNode::wrapperTypeInfo.interfaceName, V8Node::domTemplate(isolate, world), V8TestInterfaceNode::internalFieldCount);
 | 
| -    v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemplate);
 | 
| -    ALLOW_UNUSED_LOCAL(signature);
 | 
| -    v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTemplate();
 | 
| -    ALLOW_UNUSED_LOCAL(instanceTemplate);
 | 
| -    v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->PrototypeTemplate();
 | 
| -    ALLOW_UNUSED_LOCAL(prototypeTemplate);
 | 
| -    // Register DOM constants, attributes and operations.
 | 
| -    V8DOMConfiguration::installAccessors(isolate, world, instanceTemplate, prototypeTemplate, interfaceTemplate, signature, V8TestInterfaceNodeAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceNodeAccessors));
 | 
| -    V8DOMConfiguration::installMethods(isolate, world, instanceTemplate, prototypeTemplate, interfaceTemplate, signature, V8TestInterfaceNodeMethods, WTF_ARRAY_LENGTH(V8TestInterfaceNodeMethods));
 | 
| +static void installV8TestInterfaceNodeTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
 | 
| +  // Initialize the interface object's template.
 | 
| +  V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterfaceNode::wrapperTypeInfo.interfaceName, V8Node::domTemplate(isolate, world), V8TestInterfaceNode::internalFieldCount);
 | 
| +  v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemplate);
 | 
| +  ALLOW_UNUSED_LOCAL(signature);
 | 
| +  v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTemplate();
 | 
| +  ALLOW_UNUSED_LOCAL(instanceTemplate);
 | 
| +  v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->PrototypeTemplate();
 | 
| +  ALLOW_UNUSED_LOCAL(prototypeTemplate);
 | 
| +  // Register DOM constants, attributes and operations.
 | 
| +  V8DOMConfiguration::installAccessors(isolate, world, instanceTemplate, prototypeTemplate, interfaceTemplate, signature, V8TestInterfaceNodeAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceNodeAccessors));
 | 
| +  V8DOMConfiguration::installMethods(isolate, world, instanceTemplate, prototypeTemplate, interfaceTemplate, signature, V8TestInterfaceNodeMethods, WTF_ARRAY_LENGTH(V8TestInterfaceNodeMethods));
 | 
|  }
 | 
|  
 | 
| -v8::Local<v8::FunctionTemplate> V8TestInterfaceNode::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world)
 | 
| -{
 | 
| -    return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8TestInterfaceNodeTemplate);
 | 
| +v8::Local<v8::FunctionTemplate> V8TestInterfaceNode::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world) {
 | 
| +  return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8TestInterfaceNodeTemplate);
 | 
|  }
 | 
|  
 | 
| -bool V8TestInterfaceNode::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
 | 
| -{
 | 
| -    return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
 | 
| +bool V8TestInterfaceNode::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) {
 | 
| +  return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
 | 
|  }
 | 
|  
 | 
| -v8::Local<v8::Object> V8TestInterfaceNode::findInstanceInPrototypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
 | 
| -{
 | 
| -    return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
 | 
| +v8::Local<v8::Object> V8TestInterfaceNode::findInstanceInPrototypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) {
 | 
| +  return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
 | 
|  }
 | 
|  
 | 
| -TestInterfaceNode* V8TestInterfaceNode::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value)
 | 
| -{
 | 
| -    return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : nullptr;
 | 
| +TestInterfaceNode* V8TestInterfaceNode::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) {
 | 
| +  return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : nullptr;
 | 
|  }
 | 
|  
 | 
| -} // namespace blink
 | 
| +}  // namespace blink
 | 
| 
 |