| Index: Source/bindings/tests/results/V8SVGTestInterface.cpp
|
| diff --git a/Source/bindings/tests/results/V8SVGTestInterface.cpp b/Source/bindings/tests/results/V8SVGTestInterface.cpp
|
| index ec3b6e26d407e13e8ca0084c27d2fd67301b261c..7c87de4f9cd1aaf82583797e57898b81b87b254e 100644
|
| --- a/Source/bindings/tests/results/V8SVGTestInterface.cpp
|
| +++ b/Source/bindings/tests/results/V8SVGTestInterface.cpp
|
| @@ -100,16 +100,7 @@ static void configureV8SVGTestInterfaceTemplate(v8::Handle<v8::FunctionTemplate>
|
|
|
| v8::Handle<v8::FunctionTemplate> V8SVGTestInterface::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);
|
| - configureV8SVGTestInterfaceTemplate(result, isolate);
|
| - data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result);
|
| - return result;
|
| + return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), configureV8SVGTestInterfaceTemplate);
|
| }
|
|
|
| bool V8SVGTestInterface::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
|
|
|