diff options
Diffstat (limited to 'src/gpu/GrPathRendering.cpp')
-rw-r--r-- | src/gpu/GrPathRendering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrPathRendering.cpp b/src/gpu/GrPathRendering.cpp index 456f6d84c0..fba55d5e1e 100644 --- a/src/gpu/GrPathRendering.cpp +++ b/src/gpu/GrPathRendering.cpp @@ -24,11 +24,11 @@ public: SkDescriptor::Free(fDesc); } - int getNumPaths() SK_OVERRIDE { + int getNumPaths() override { return fScalerContext->getGlyphCount(); } - void generatePath(int glyphID, SkPath* out) SK_OVERRIDE { + void generatePath(int glyphID, SkPath* out) override { SkGlyph skGlyph; skGlyph.initWithGlyphID(glyphID); fScalerContext->getMetrics(&skGlyph); @@ -37,7 +37,7 @@ public: out->transform(fFlipMatrix); // Load glyphs with the inverted y-direction. } - bool isEqualTo(const SkDescriptor& desc) const SK_OVERRIDE { + bool isEqualTo(const SkDescriptor& desc) const override { return fDesc->equals(desc); } |