| Index: third_party/WebKit/Source/bindings/templates/partial_interface.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/templates/partial_interface.cpp b/third_party/WebKit/Source/bindings/templates/partial_interface.cpp
|
| index b112026ce43a2f3e333170ee37100d4c741af751..37b4741ca976103832716b5d1b6813fce2324f89 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/partial_interface.cpp
|
| +++ b/third_party/WebKit/Source/bindings/templates/partial_interface.cpp
|
| @@ -12,7 +12,7 @@ void {{v8_class_or_partial}}::preparePrototypeAndInterfaceObject(v8::Local<v8::C
|
| {{v8_class}}::preparePrototypeAndInterfaceObject(context, world, prototypeObject, interfaceObject, interfaceTemplate);
|
| {% if unscopeables or
|
| has_conditional_attributes_on_prototype or
|
| - conditionally_enabled_methods %}
|
| + methods | conditionally_exposed(is_partial) %}
|
| v8::Isolate* isolate = context->GetIsolate();
|
| {% endif %}
|
| {% if unscopeables %}
|
| @@ -21,7 +21,7 @@ void {{v8_class_or_partial}}::preparePrototypeAndInterfaceObject(v8::Local<v8::C
|
| {% if has_conditional_attributes_on_prototype %}
|
| {{install_conditionally_enabled_attributes_on_prototype() | indent}}
|
| {% endif %}
|
| -{% if conditionally_enabled_methods %}
|
| +{% if methods | conditionally_exposed(is_partial) %}
|
| {{install_conditionally_enabled_methods() | indent}}
|
| {% endif %}
|
| }
|
|
|