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

Unified Diff: src/core/SkGlyph.h

Issue 1260473004: Adding debug SkScalerContext which returns random mask formats (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkTypeface.h ('k') | src/fonts/SkRandomScalerContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkGlyph.h
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h
index 469985959cc867d825d31810a57556bb13c2da3f..071c59df520944c9c0c09864e34c1135b81fb6e7 100644
--- a/src/core/SkGlyph.h
+++ b/src/core/SkGlyph.h
@@ -128,6 +128,7 @@ class SkGlyph {
private:
// TODO(herb) remove friend statement after SkGlyphCache cleanup.
friend class SkGlyphCache;
+ friend class SkRandomScalerContext; // For getting the id of the glyph
bungeman-skia 2015/07/24 18:31:18 Can't just call getGlyphID() ?
void initCommon(uint32_t id) {
fID = id;
« no previous file with comments | « include/core/SkTypeface.h ('k') | src/fonts/SkRandomScalerContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698