[Line Layout API] Add LineLayoutItem::resolveColor()
This addition to the line layout API has cascading effects (all good): 1. Allows us to convert several methods in TextPainter to take a LineLayoutItem instead of LayoutText 2. Removes several instances of using the LineLayoutAPIShim just to call the resolveColor method 3. Converts a (required) reference of InlineBox::layoutObject() to lineLayoutItem() 4. Lets us convert TextPainterTest entirely to the line layout API There are no functional changes. BUG=499321 Review URL: https://codereview.chromium.org/1647473002 Cr-Commit-Position: refs/heads/master@{#371932}
Showing
Please register or sign in to comment