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