DescriptionRemove [PerWorldBindings] IDL attribute from non wrapper type attributes
Remove [PerWorldBindings] IDL attribute from non wrapper type attributes.
The 2 generated code paths are identical for non wrapper types (e.g.
DOMString) so there should be no performance benefit to having a separate
code path for the main world.
This reduces the release binary size by ~18Kb. I did not see any
regression on the Bindings performance tests locally.
This CL does not change attributes of non-wrapper type that use
[LogActivity=xxx] extended attribute because this would cause a behavior
change. This is sad though because those account for a much greater
binary size (~100 Kb in release).
This CL also adds an assertion to the bindings generator so that folks
stop doing this unintentionally.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172986
Patch Set 1 #Patch Set 2 : Rebaseline bindings tests #Patch Set 3 : Do not change LogActivity attributes #
Total comments: 2
Patch Set 4 : Remove from commented attributes as well #Patch Set 5 : Rebase #
Messages
Total messages: 25 (0 generated)
|