DescriptionFont::drawGlyphs() cleanup
Font::drawGlyphs() is a fallback/legacy code path, only used in
drawGlyphBuffer() when we fail to build text blobs due to
verticalAnyUpright text. Hence, the existing horizontal optimization is
no longer reachable.
Remove the dead code and associated helper method.
Also
* fold the remaining paintGlyphs helper into drawGlyphs
* drop unused textBounds param
* use a scoped SkAutoCanvasRestore instead of explicit restore
No functional changes.
R=eae@chromium.org,drott@chromium.org,jbroman@chromium.org
Committed: https://crrev.com/942b31f521d3d7683f3864f08cc60410184d2329
Cr-Commit-Position: refs/heads/master@{#367011}
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 11 (6 generated)
|