Font::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 Review URL: https://codereview.chromium.org/1548333002 Cr-Commit-Position: refs/heads/master@{#367011}
Showing
Please register or sign in to comment