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

Issue 1992053002: Assert complex precondition in SkGlyphCache::Visit. (Closed)

Created:
4 years, 7 months ago by bungeman-skia
Modified:
4 years, 7 months ago
Reviewers:
bsalomon, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Assert complex precondition in SkGlyphCache::Visit. SkGlyphCache::Visit takes a descriptor and a typeface, but it is implied that the fFontID in the descriptor is the id of the typeface. This seems to be handled correctly by current callers but this is a subtle requirement which if violated could lead to subtle bugs. Committed: https://skia.googlesource.com/skia/+/de3c3568ee5137fa8752491362893ae1d701d709

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M src/core/SkGlyphCache.cpp View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1992053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1992053002/1
4 years, 7 months ago (2016-05-18 21:32:58 UTC) #3
bungeman-skia
4 years, 7 months ago (2016-05-18 21:33:42 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 21:51:28 UTC) #9
bsalomon
lgtm
4 years, 7 months ago (2016-05-18 22:48:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1992053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1992053002/1
4 years, 7 months ago (2016-05-19 14:42:58 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 14:43:57 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/de3c3568ee5137fa8752491362893ae1d701d709

Powered by Google App Engine
This is Rietveld 408576698