| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.cpp
 | 
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.cpp
 | 
| index 4284a2b5ad6744fa3abce975a43af86c8961db67..671aeeca31eea6eca33a6196a97cd1a8aa1ad51d 100644
 | 
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.cpp
 | 
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.cpp
 | 
| @@ -51,54 +51,48 @@ namespace TestInterfaceCustomConstructorV8Internal {
 | 
|  
 | 
|  } // namespace TestInterfaceCustomConstructorV8Internal
 | 
|  
 | 
| -void V8TestInterfaceCustomConstructor::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
 | 
| -{
 | 
| -    if (!info.IsConstructCall()) {
 | 
| -        V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceCustomConstructor"));
 | 
| -        return;
 | 
| -    }
 | 
| -
 | 
| -    if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExistingObject) {
 | 
| -        v8SetReturnValue(info, info.Holder());
 | 
| -        return;
 | 
| -    }
 | 
| -
 | 
| -    V8TestInterfaceCustomConstructor::constructorCustom(info);
 | 
| +void V8TestInterfaceCustomConstructor::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
 | 
| +  if (!info.IsConstructCall()) {
 | 
| +    V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceCustomConstructor"));
 | 
| +    return;
 | 
| +  }
 | 
| +
 | 
| +  if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExistingObject) {
 | 
| +    v8SetReturnValue(info, info.Holder());
 | 
| +    return;
 | 
| +  }
 | 
| +
 | 
| +  V8TestInterfaceCustomConstructor::constructorCustom(info);
 | 
|  }
 | 
|  
 | 
| -static void installV8TestInterfaceCustomConstructorTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate)
 | 
| -{
 | 
| -    // Initialize the interface object's template.
 | 
| -    V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterfaceCustomConstructor::wrapperTypeInfo.interfaceName, v8::Local<v8::FunctionTemplate>(), V8TestInterfaceCustomConstructor::internalFieldCount);
 | 
| -    interfaceTemplate->SetCallHandler(V8TestInterfaceCustomConstructor::constructorCallback);
 | 
| -    interfaceTemplate->SetLength(0);
 | 
| -    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.
 | 
| +static void installV8TestInterfaceCustomConstructorTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
 | 
| +  // Initialize the interface object's template.
 | 
| +  V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8TestInterfaceCustomConstructor::wrapperTypeInfo.interfaceName, v8::Local<v8::FunctionTemplate>(), V8TestInterfaceCustomConstructor::internalFieldCount);
 | 
| +  interfaceTemplate->SetCallHandler(V8TestInterfaceCustomConstructor::constructorCallback);
 | 
| +  interfaceTemplate->SetLength(0);
 | 
| +  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.
 | 
|  }
 | 
|  
 | 
| -v8::Local<v8::FunctionTemplate> V8TestInterfaceCustomConstructor::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world)
 | 
| -{
 | 
| -    return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8TestInterfaceCustomConstructorTemplate);
 | 
| +v8::Local<v8::FunctionTemplate> V8TestInterfaceCustomConstructor::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world) {
 | 
| +  return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8TestInterfaceCustomConstructorTemplate);
 | 
|  }
 | 
|  
 | 
| -bool V8TestInterfaceCustomConstructor::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
 | 
| -{
 | 
| -    return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
 | 
| +bool V8TestInterfaceCustomConstructor::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) {
 | 
| +  return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
 | 
|  }
 | 
|  
 | 
| -v8::Local<v8::Object> V8TestInterfaceCustomConstructor::findInstanceInPrototypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
 | 
| -{
 | 
| -    return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
 | 
| +v8::Local<v8::Object> V8TestInterfaceCustomConstructor::findInstanceInPrototypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) {
 | 
| +  return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
 | 
|  }
 | 
|  
 | 
| -TestInterfaceCustomConstructor* V8TestInterfaceCustomConstructor::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value)
 | 
| -{
 | 
| -    return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : nullptr;
 | 
| +TestInterfaceCustomConstructor* V8TestInterfaceCustomConstructor::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
 | 
| 
 |