DescriptionAdd generated InheritedDataShared in ComputedStyleBase.
ComputedStyle::InheritedDataShared is a handwritten function that
compares subgroup pointers. This makes it difficult to change the group
that a field belongs to, as it might break the correctness of the
function.
This patch adds a generated function InheritedDataShared in
ComputedStyleBase that works no matter where fields are stored.
There are no behavioural changes in this patch.
Diff of generated files:
https://gist.github.com/darrnshn/a88dd2eaf35380e4e24d18384fb3c4b4/revisions
BUG=628043
Review-Url: https://codereview.chromium.org/2879123002
Cr-Commit-Position: refs/heads/master@{#472593}
Committed: https://chromium.googlesource.com/chromium/src/+/1f524da250c870845b077299d2a0ebda85bf90d9
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Rebase #Patch Set 4 : Rebase #Patch Set 5 : Rebase #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 32 (28 generated)
|