Index: third_party/WebKit/Source/bindings/templates/partial_interface.h |
diff --git a/third_party/WebKit/Source/bindings/templates/partial_interface.h b/third_party/WebKit/Source/bindings/templates/partial_interface.h |
index 300ef28d88d67e4d843a717e63b6dfd77528293a..c9286e369eb3b7482547bd7e8ff2975b42824400 100644 |
--- a/third_party/WebKit/Source/bindings/templates/partial_interface.h |
+++ b/third_party/WebKit/Source/bindings/templates/partial_interface.h |
@@ -28,8 +28,10 @@ public: |
static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
{% endif %} |
{% endfor %} |
- {# Custom internal fields #} |
+ {% if unscopeables or has_conditional_attributes_on_prototype or |
+ methods | conditionally_exposed(is_partial) %} |
static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::FunctionTemplate>); |
+ {% endif %} |
{% for origin_trial_feature in origin_trial_features %}{{newline}} |
static void install{{origin_trial_feature.name}}(ScriptState*, v8::Local<v8::Object> instance); |
{% if not origin_trial_feature.needs_instance %} |