diff options
Diffstat (limited to 'tools/fonts/SkTestTypeface.cpp')
-rw-r--r-- | tools/fonts/SkTestTypeface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/fonts/SkTestTypeface.cpp b/tools/fonts/SkTestTypeface.cpp index c2d220154c..d7caa5a392 100644 --- a/tools/fonts/SkTestTypeface.cpp +++ b/tools/fonts/SkTestTypeface.cpp @@ -214,9 +214,10 @@ protected: SK_ABORT("Should have generated from path."); } - void generatePath(SkGlyphID glyph, SkPath* path) override { + bool generatePath(SkGlyphID glyph, SkPath* path) override { this->getTestTypeface()->getPath(glyph, path); path->transform(fMatrix); + return true; } void generateFontMetrics(SkPaint::FontMetrics* metrics) override { |