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

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: rebased 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
« no previous file with comments | « Source/bindings/scripts/v8_utilities.py ('k') | Source/bindings/templates/interface_base.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 %}
}
« no previous file with comments | « Source/bindings/scripts/v8_utilities.py ('k') | Source/bindings/templates/interface_base.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698