| Index: Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| index d89d5ead2c7135882cece8cbda63c79f6ce1604a..b12495a510b6e146ab8a8a8cf0ab59b8981fba0b 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| @@ -82,16 +82,7 @@ static void configureV8TestInterfaceCustomConstructorTemplate(v8::Handle<v8::Fun
|
|
|
| v8::Handle<v8::FunctionTemplate> V8TestInterfaceCustomConstructor::domTemplate(v8::Isolate* isolate)
|
| {
|
| - V8PerIsolateData* data = V8PerIsolateData::from(isolate);
|
| - v8::Local<v8::FunctionTemplate> result = data->existingDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo));
|
| - if (!result.IsEmpty())
|
| - return result;
|
| -
|
| - TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate");
|
| - result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidConstructorMode);
|
| - configureV8TestInterfaceCustomConstructorTemplate(result, isolate);
|
| - data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result);
|
| - return result;
|
| + return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), configureV8TestInterfaceCustomConstructorTemplate);
|
| }
|
|
|
| bool V8TestInterfaceCustomConstructor::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
|
|
|