Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Issue 1548333002: Font::drawGlyphs() cleanup (Closed)

Created:
4 years, 12 months ago by f(malita)
Modified:
4 years, 12 months ago
Reviewers:
drott, eae, jbroman
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, jbroman, Justin Novosad, danakj, Rik, f(malita), blink-reviews, vmpstr+blinkwatch_chromium.org, kinuko+watch, Stephen Chennney, rwlbuis, reed1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/942b31f521d3d7683f3864f08cc60410184d2329 Cr-Commit-Position: refs/heads/master@{#367011}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -42 lines) Patch
M third_party/WebKit/Source/platform/fonts/Font.h View 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/Font.cpp View 1 4 chunks +11 lines, -36 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
f(malita)
4 years, 12 months ago (2015-12-28 19:39:28 UTC) #4
eae
LGTM Very nice, thanks for taking the time to do this!
4 years, 12 months ago (2015-12-28 19:40:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1548333002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1548333002/20001
4 years, 12 months ago (2015-12-28 20:35:02 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 12 months ago (2015-12-28 20:39:15 UTC) #9
commit-bot: I haz the power
4 years, 12 months ago (2015-12-28 20:40:32 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/942b31f521d3d7683f3864f08cc60410184d2329
Cr-Commit-Position: refs/heads/master@{#367011}

Powered by Google App Engine
This is Rietveld 408576698