DescriptionIDL: Generate all constructor callbacks with the same template macro
Regular constructors and named constructors are similar enough that using
separate template macros to generate them mostly leads to duplicated code.
The actual difference is now more visible, since it takes the explicit
form
{% if constructor.is_named_constructor %}
// the difference
{% endif %}
in the shared macro.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176920
Patch Set 1 #Patch Set 2 : fix arity check #
Total comments: 5
Messages
Total messages: 8 (0 generated)
|