| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp
 | 
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp
 | 
| index 2d764e69b42b3f884396e97549bb74f8bb056454..89e954b108574084c186f9e93f9a0a0692c48d85 100644
 | 
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp
 | 
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp
 | 
| @@ -54,43 +54,39 @@ static_assert(
 | 
|  
 | 
|  namespace TestInterfaceDocumentV8Internal {
 | 
|  
 | 
| -static void locationAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| +static void locationAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
|  
 | 
| -    TestInterfaceDocument* impl = V8TestInterfaceDocument::toImpl(holder);
 | 
| +  TestInterfaceDocument* impl = V8TestInterfaceDocument::toImpl(holder);
 | 
|  
 | 
| -    v8SetReturnValueFast(info, WTF::getPtr(impl->location()), impl);
 | 
| +  v8SetReturnValueFast(info, WTF::getPtr(impl->location()), impl);
 | 
|  }
 | 
|  
 | 
| -void locationAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    TestInterfaceDocumentV8Internal::locationAttributeGetter(info);
 | 
| +void locationAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  TestInterfaceDocumentV8Internal::locationAttributeGetter(info);
 | 
|  }
 | 
|  
 | 
| -static void locationAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Object> holder = info.Holder();
 | 
| -    TestInterfaceDocument* proxyImpl = V8TestInterfaceDocument::toImpl(holder);
 | 
| -    Location* impl = WTF::getPtr(proxyImpl->location());
 | 
| -    if (!impl)
 | 
| -        return;
 | 
| +static void locationAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Object> holder = info.Holder();
 | 
| +  TestInterfaceDocument* proxyImpl = V8TestInterfaceDocument::toImpl(holder);
 | 
| +  Location* impl = WTF::getPtr(proxyImpl->location());
 | 
| +  if (!impl)
 | 
| +    return;
 | 
|  
 | 
| -    ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterfaceDocument", "location");
 | 
| +  ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterfaceDocument", "location");
 | 
|  
 | 
| -    // 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->setHref(currentDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()), cppValue, exceptionState);
 | 
| +  impl->setHref(currentDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()), cppValue, exceptionState);
 | 
|  }
 | 
|  
 | 
| -void locationAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    v8::Local<v8::Value> v8Value = info[0];
 | 
| +void locationAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  v8::Local<v8::Value> v8Value = info[0];
 | 
|  
 | 
| -    TestInterfaceDocumentV8Internal::locationAttributeSetter(v8Value, info);
 | 
| +  TestInterfaceDocumentV8Internal::locationAttributeSetter(v8Value, info);
 | 
|  }
 | 
|  
 | 
|  } // namespace TestInterfaceDocumentV8Internal
 | 
| @@ -99,38 +95,33 @@ const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceDocumentAccessors
 | 
|      {"location", TestInterfaceDocumentV8Internal::locationAttributeGetterCallback, TestInterfaceDocumentV8Internal::locationAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::DontDelete), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder},
 | 
|  };
 | 
|  
 | 
| -static void installV8TestInterfaceDocumentTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate)
 | 
| -{
 | 
| -    // Initialize the interface object's template.
 | 
| -    V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterfaceDocument::wrapperTypeInfo.interfaceName, V8Document::domTemplate(isolate, world), V8TestInterfaceDocument::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, V8TestInterfaceDocumentAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceDocumentAccessors));
 | 
| +static void installV8TestInterfaceDocumentTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
 | 
| +  // Initialize the interface object's template.
 | 
| +  V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterfaceDocument::wrapperTypeInfo.interfaceName, V8Document::domTemplate(isolate, world), V8TestInterfaceDocument::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, V8TestInterfaceDocumentAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceDocumentAccessors));
 | 
|  }
 | 
|  
 | 
| -v8::Local<v8::FunctionTemplate> V8TestInterfaceDocument::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world)
 | 
| -{
 | 
| -    return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8TestInterfaceDocumentTemplate);
 | 
| +v8::Local<v8::FunctionTemplate> V8TestInterfaceDocument::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world) {
 | 
| +  return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8TestInterfaceDocumentTemplate);
 | 
|  }
 | 
|  
 | 
| -bool V8TestInterfaceDocument::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
 | 
| -{
 | 
| -    return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
 | 
| +bool V8TestInterfaceDocument::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) {
 | 
| +  return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
 | 
|  }
 | 
|  
 | 
| -v8::Local<v8::Object> V8TestInterfaceDocument::findInstanceInPrototypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
 | 
| -{
 | 
| -    return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
 | 
| +v8::Local<v8::Object> V8TestInterfaceDocument::findInstanceInPrototypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) {
 | 
| +  return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
 | 
|  }
 | 
|  
 | 
| -TestInterfaceDocument* V8TestInterfaceDocument::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value)
 | 
| -{
 | 
| -    return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : nullptr;
 | 
| +TestInterfaceDocument* V8TestInterfaceDocument::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
 | 
| 
 |