DescriptionMerge LayoutInline::mapLocalToAncestor() into LayoutObject.
Avoids code duplication and maybe also makes the LayoutObject implementation
more correct. It was typically only LayoutText objects that used the
LayoutObject implementation of mapLocalToAncestor() prior to this change.
Some extra care was needed when calling style() members, since text nodes just
copy their parent's computed style instead of just inheriting the inheritable
ones. Apart from that, it's basically just about replacing the LayoutObject
implementation with that of LayoutInline.
BUG=568492
R=leviw@chromium.org,ojan@chromium.org
Committed: https://crrev.com/f54369c41aab496af8ed8133395d40625266a839
Cr-Commit-Position: refs/heads/master@{#375269}
Patch Set 1 #Patch Set 2 : rebase master #Patch Set 3 : rebase master #Patch Set 4 : rebase master #
Total comments: 2
Patch Set 5 : review constness + bonus constness #
Messages
Total messages: 19 (6 generated)
|