Remove unused methods from SkStrike

Change-Id: Icfca4b099e594c61cbaf0b5f160c6293b39c4083
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/253382
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
herb 2019-11-07 12:52:18 -05:00 committed by Skia Commit-Bot
parent 3f7c865936
commit 05f6a01bf9
2 changed files with 0 additions and 12 deletions

View File

@ -89,10 +89,6 @@ const SkDescriptor& SkStrike::getDescriptor() const {
return *fDesc.getDesc();
}
unsigned SkStrike::getGlyphCount() const {
return fScalerContext->getGlyphCount();
}
int SkStrike::countCachedGlyphs() const {
return fGlyphMap.count();
}

View File

@ -63,10 +63,6 @@ public:
// If the path has never been set, then add a path to glyph.
const SkPath* preparePath(SkGlyph* glyph, const SkPath* path);
/** Returns the number of glyphs for this strike.
*/
unsigned getGlyphCount() const;
/** Return the number of glyphs currently cached. */
int countCachedGlyphs() const;
@ -91,10 +87,6 @@ public:
return fFontMetrics;
}
SkMask::Format getMaskFormat() const {
return fScalerContext->getMaskFormat();
}
const SkGlyphPositionRoundingSpec& roundingSpec() const override {
return fRoundingSpec;
}