Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: Source/bindings/templates/interface.cpp

Issue 1107523002: IDL: Drop [PerContextEnabled] extended attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/templates/interface.cpp
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
index 5894565abbf1e40edcc3dc18d7bfc34b2827a7ca..87168c89e514c16566bfcae273ad35386be49438 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 %}
}

Powered by Google App Engine
This is Rietveld 408576698