commit | 65e96b4eb94c1b692f7decc18915cff77c5f1ab3 | [log] [tgz] |
---|---|---|
author | joshualitt <joshualitt@chromium.org> | Fri Jul 31 11:45:22 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Jul 31 11:45:22 2015 -0700 |
tree | 71c1644d22637202b918c91f7d93af912ab2eeaa | |
parent | 88c7b988ba7792e51e741567426069cd9cc852dd [diff] [blame] |
Modifying TextBlobCacheTest to use SkRandomScalerContext BUG=skia: Committed: https://skia.googlesource.com/skia/+/adcdca86ce425cf8c28bfad311cef028df756ee8 Review URL: https://codereview.chromium.org/1266003002
diff --git a/src/gpu/GrBatchFontCache.cpp b/src/gpu/GrBatchFontCache.cpp index d6ffc50..64d6bb1 100644 --- a/src/gpu/GrBatchFontCache.cpp +++ b/src/gpu/GrBatchFontCache.cpp
@@ -226,6 +226,7 @@ glyph->width(), glyph->height(), storage.get(), &glyph->fAtlasLocation); if (success) { + SkASSERT(GrBatchAtlas::kInvalidAtlasID != glyph->fID); fAtlasedGlyphs++; } return success;