Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: src/gpu/GrPathRendering.cpp

Issue 808463002: Add SK_OVERRIDE to a few places that are missing it. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkSpriteBlitter_RGB16.cpp ('k') | src/pdf/SkPDFShader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPathRendering.cpp
diff --git a/src/gpu/GrPathRendering.cpp b/src/gpu/GrPathRendering.cpp
index ed9a1e640f6dda64e11805aa13257e08a1c7ed7f..1b0ce19e5595785f89e7787f6fd997dba1442b1e 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);
}
« no previous file with comments | « src/core/SkSpriteBlitter_RGB16.cpp ('k') | src/pdf/SkPDFShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698