Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index 6363f8b0b52d271e93e3a49f5f5c26f641a18f0a..b9f8e095cc3f05614ac75f10a4e8b0d61b38e0cd 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -906,8 +906,7 @@ void {{v8_class}}::installConditionallyEnabledProperties(v8::Local<v8::Object> i |
v8::Local<v8::Object> prototypeObject = v8::Local<v8::Object>::Cast(instanceObject->GetPrototype()); |
ExecutionContext* context = toExecutionContext(prototypeObject->CreationContext()); |
- {% for attribute in attributes if attribute.per_context_enabled_function or attribute.exposed_test %} |
- {% filter per_context_enabled(attribute.per_context_enabled_function) %} |
+ {% for attribute in attributes if attribute.exposed_test %} |
{% filter exposed(attribute.exposed_test) %} |
{% if attribute.is_expose_js_accessors %} |
static const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {{attribute_configuration(attribute)}}; |
@@ -917,7 +916,6 @@ void {{v8_class}}::installConditionallyEnabledProperties(v8::Local<v8::Object> i |
V8DOMConfiguration::installAttribute(isolate, instanceObject, prototypeObject, attributeConfiguration); |
{% endif %} |
{% endfilter %} |
- {% endfilter %} |
{% endfor %} |
} |