DescriptionStop TextIteratorTextState from using LayoutText
This patch changes TextIteratorTextState::EmitText into taking a node and a
string separately, instead of taking a LayoutText, so that the class no
longer uses LayoutText. Handling of LayoutText is hoisted to
TextIteratorTextNodeHandler.
With this patch, TextIteratorTextState no longer depends on legacy layout,
and can be used by Layout NG.
BUG=721957
TEST=n/a; no behavioral change
Review-Url: https://codereview.chromium.org/2915013005
Cr-Commit-Position: refs/heads/master@{#476950}
Committed: https://chromium.googlesource.com/chromium/src/+/ca0bc1dcb2a5a4d3125e06d0e255b39a0eae431e
Patch Set 1 #Patch Set 2 : Thu Jun 1 18:55:15 PDT 2017 #
Total comments: 2
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 17 (13 generated)
|