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

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

Issue 1107583005: Take conditionals into account when writing AccessorConfiguration (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/interface_base.cpp
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp
index ea5c732e40872d01d3d2a217d839c10bde592e0b..ed19700065721c48997fe070840d028ee421c933 100644
--- a/Source/bindings/templates/interface_base.cpp
+++ b/Source/bindings/templates/interface_base.cpp
@@ -233,7 +233,9 @@ static const V8DOMConfiguration::AccessorConfiguration {{v8_class}}Accessors[] =
attribute.per_context_enabled_function or
attribute.exposed_test) and
attribute.should_be_exposed_to_script) %}
+ {% filter conditional(attribute.conditional_string) %}
{{attribute_configuration(attribute)}},
+ {% endfilter %}
{% endfor %}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698