Index: third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
index e72747618e3b6dcd3e45258aa294dcd8ac9aa79d..5fd556837270756723971fb6b0ead30b06ad0f58 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
@@ -139,6 +139,8 @@ class {{v8_class}} { |
{% if unscopables or has_conditional_attributes_on_prototype or |
methods | conditionally_exposed(is_partial) %} |
{{exported}}static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplate); |
+ {% elif has_partial_interface %} |
+ {{exported}}static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplate) {} |
{% endif %} |
{% if has_partial_interface %} |
{{exported}}static void updateWrapperTypeInfo(InstallTemplateFunction, PreparePrototypeAndInterfaceObjectFunction); |