Index: third_party/WebKit/Source/bindings/templates/interface.h |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h b/third_party/WebKit/Source/bindings/templates/interface.h |
index de54d4434a6f85c876203866b642177805989ed8..5331a333fd80cd4fa916e8b3e879fe2723469da9 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h |
@@ -154,11 +154,9 @@ public: |
* a C++ pointer to the DOM object (if the object is not in oilpan) #} |
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + {{custom_internal_field_counter}}; |
{# End custom internal fields #} |
- {% if has_conditional_attributes %} |
- static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8::Isolate*); |
- {% endif %} |
- {{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){% if unscopeables or has_conditional_attributes_on_prototype or methods | conditionally_exposed(is_partial) %}; |
- {% else %} { } |
+ {% if unscopeables 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); |
{% endif %} |
{% if has_partial_interface %} |
{{exported}}static void updateWrapperTypeInfo(InstallTemplateFunction, PreparePrototypeAndInterfaceObjectFunction); |