| Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
|
| index 73039bbc898debee9eff37a5bcce88644c8b459f..759328fc1c2bbde898fe484558c5da811d34fa84 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp
|
| @@ -126,7 +126,7 @@ v8::Handle<v8::FunctionTemplate> V8TestInterfaceNamedConstructor2Constructor::do
|
| return scope.Escape(result);
|
| }
|
|
|
| -static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfaceNamedConstructor2Template(v8::Handle<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate, WrapperWorldType currentWorldType)
|
| +static void configureV8TestInterfaceNamedConstructor2Template(v8::Handle<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate, WrapperWorldType currentWorldType)
|
| {
|
| functionTemplate->ReadOnlyPrototype();
|
|
|
| @@ -141,7 +141,6 @@ static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfaceNamedConstructor
|
|
|
| // Custom toString template
|
| functionTemplate->Set(v8::String::NewFromUtf8(isolate, "toString", v8::String::kInternalizedString), V8PerIsolateData::current()->toStringTemplate());
|
| - return functionTemplate;
|
| }
|
|
|
| v8::Handle<v8::FunctionTemplate> V8TestInterfaceNamedConstructor2::domTemplate(v8::Isolate* isolate, WrapperWorldType currentWorldType)
|
| @@ -153,8 +152,8 @@ v8::Handle<v8::FunctionTemplate> V8TestInterfaceNamedConstructor2::domTemplate(v
|
|
|
| TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate");
|
| v8::EscapableHandleScope handleScope(isolate);
|
| - v8::Local<v8::FunctionTemplate> templ =
|
| - ConfigureV8TestInterfaceNamedConstructor2Template(data->rawDOMTemplate(&wrapperTypeInfo, currentWorldType), isolate, currentWorldType);
|
| + v8::Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidConstructorMode);
|
| + configureV8TestInterfaceNamedConstructor2Template(templ, isolate, currentWorldType);
|
| data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));
|
| return handleScope.Escape(templ);
|
| }
|
|
|