diff options
author | mtklein <mtklein@chromium.org> | 2014-12-15 09:08:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-15 09:08:33 -0800 |
commit | e8307dc0d0a568775e64515a8fff7b2a709f0834 (patch) | |
tree | 47d84c4bb1a6d0733c8d0de4fd0ac21b60c49eab /src/gpu | |
parent | 1d09ee7c04d635e93bb85d2e2ac39f445f5540aa (diff) |
Add SK_OVERRIDE to a few places that are missing it.
This was done automatically by running clang-modernize -add-override -override-macros.
It's not clear to me whether include/ is already clean or I just can't get the tool to work for headers.
BUG=skia:
Review URL: https://codereview.chromium.org/808463002
Diffstat (limited to 'src/gpu')
-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 ed9a1e640f..1b0ce19e55 100644 --- a/src/gpu/GrPathRendering.cpp +++ b/src/gpu/GrPathRendering.cpp @@ -24,11 +24,11 @@ public: SkDescriptor::Free(fDesc); } - virtual int getNumPaths() { + virtual int getNumPaths() SK_OVERRIDE { return fScalerContext->getGlyphCount(); } - virtual void generatePath(int glyphID, SkPath* out) { + virtual void generatePath(int glyphID, SkPath* out) SK_OVERRIDE { SkGlyph skGlyph; skGlyph.init(SkGlyph::MakeID(glyphID)); fScalerContext->getMetrics(&skGlyph); @@ -37,7 +37,7 @@ public: out->transform(fFlipMatrix); // Load glyphs with the inverted y-direction. } - virtual bool isEqualTo(const SkDescriptor& desc) const { + virtual bool isEqualTo(const SkDescriptor& desc) const SK_OVERRIDE { return fDesc->equals(desc); } |