| Index: third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl
|
| index 85660154b41b81ed9671fd70de0731877406b408..25e79e8fc7d6d50cbd3249c82f0ad51aa42fe4f8 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl
|
| @@ -10,30 +10,6 @@
|
|
|
|
|
| {##############################################################################}
|
| -{% block prepare_prototype_and_interface_object %}
|
| -{% from 'interface.cpp.tmpl' import install_unscopables with context %}
|
| -{% from 'interface.cpp.tmpl' import install_conditionally_enabled_attributes_on_prototype with context %}
|
| -{% from 'methods.cpp.tmpl' import install_conditionally_enabled_methods with context %}
|
| -{% if has_prepare_prototype_and_interface_object %}
|
| -void {{v8_class_or_partial}}::preparePrototypeAndInterfaceObject(v8::Local<v8::Context> context, const DOMWrapperWorld& world, v8::Local<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplate) {
|
| - {{v8_class}}::preparePrototypeAndInterfaceObject(context, world, prototypeObject, interfaceObject, interfaceTemplate);
|
| - v8::Isolate* isolate = context->GetIsolate();
|
| -{% if unscopables %}
|
| - {{install_unscopables() | indent(2)}}
|
| -{% endif %}
|
| -{% if has_conditional_attributes_on_prototype %}
|
| - {{install_conditionally_enabled_attributes_on_prototype() | indent(2)}}
|
| -{% endif %}
|
| -{% if methods | conditionally_exposed(is_partial) %}
|
| - {{install_conditionally_enabled_methods() | indent(2)}}
|
| -{% endif %}
|
| -}
|
| -{% endif %}
|
| -
|
| -{% endblock %}
|
| -
|
| -
|
| -{##############################################################################}
|
| {% block partial_interface %}
|
| void {{v8_class_or_partial}}::initialize() {
|
| // Should be invoked from ModulesInitializer.
|
|
|