Chromium Code Reviews| 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; |