| Index: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
| index 7e8293f0995be165ebf9f2a5740375d9cbc4ca61..48064f03a9c03e33c368d10a3b946555694743df 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
| @@ -356,16 +356,15 @@ void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Isolate* isolate
|
| }
|
|
|
|
|
| -void V8TestInterfacePartial::installOriginTrialPartialFeature(ScriptState* scriptState, v8::Local<v8::Object> instance)
|
| +void V8TestInterfacePartial::installOriginTrialPartialFeature(ScriptState* scriptState)
|
| {
|
| - v8::Local<v8::Object> prototype = instance->GetPrototype()->ToObject(scriptState->isolate());
|
| -
|
| - V8PerIsolateData* perIsolateData = V8PerIsolateData::from(scriptState->isolate());
|
| - v8::Local<v8::FunctionTemplate> interfaceTemplate = perIsolateData->findInterfaceTemplate(scriptState->world(), &V8TestInterface::wrapperTypeInfo);
|
| + v8::Local<v8::FunctionTemplate> interfaceTemplate = V8TestInterface::wrapperTypeInfo.domTemplate(scriptState->isolate(), scriptState->world());
|
| v8::Local<v8::Signature> signature = v8::Signature::New(scriptState->isolate(), interfaceTemplate);
|
| ALLOW_UNUSED_LOCAL(signature);
|
| V8PerContextData* perContextData = V8PerContextData::from(scriptState->context());
|
| v8::Local<v8::Function> interface = perContextData->constructorForType(&V8TestInterface::wrapperTypeInfo);
|
| + v8::Local<v8::Object> prototype = perContextData->prototypeForType(&V8TestInterface::wrapperTypeInfo);
|
| + v8::Local<v8::Object> instance; // unused; all members are OnInterface or OnPrototype
|
| const V8DOMConfiguration::AccessorConfiguration accessorpartial4LongAttributeConfiguration = \
|
| {"partial4LongAttribute", TestInterfaceImplementationPartialV8Internal::partial4LongAttributeAttributeGetterCallback, TestInterfaceImplementationPartialV8Internal::partial4LongAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
|
| V8DOMConfiguration::installAccessor(scriptState->isolate(), scriptState->world(), instance, prototype, v8::Local<v8::Function>(), signature, accessorpartial4LongAttributeConfiguration);
|
|
|