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

Unified Diff: gm/gradients.cpp

Issue 831113002: Cleanup: More override fixes - another round. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months 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 | « gm/glyph_pos_align.cpp ('k') | gm/gradtext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gradients.cpp
diff --git a/gm/gradients.cpp b/gm/gradients.cpp
index fd02ceeae90b3e4a8e77da4db43e428b8af54d9b..481b476e3724bb4e62923a8fa2c054e7f6ffda41 100644
--- a/gm/gradients.cpp
+++ b/gm/gradients.cpp
@@ -338,12 +338,12 @@ protected:
return kSkipTiled_Flag;
}
- SkString onShortName() { return SkString("radial_gradient"); }
- virtual SkISize onISize() { return SkISize::Make(1280, 1280); }
+ SkString onShortName() SK_OVERRIDE { return SkString("radial_gradient"); }
+ virtual SkISize onISize() SK_OVERRIDE { return SkISize::Make(1280, 1280); }
void drawBG(SkCanvas* canvas) {
canvas->drawColor(0xFF000000);
}
- virtual void onDraw(SkCanvas* canvas) {
+ virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
const SkISize dim = this->getISize();
this->drawBG(canvas);
@@ -381,14 +381,14 @@ protected:
return kSkipTiled_Flag;
}
- SkString onShortName() { return SkString("radial_gradient2"); }
- virtual SkISize onISize() { return SkISize::Make(800, 400); }
+ SkString onShortName() SK_OVERRIDE { return SkString("radial_gradient2"); }
+ virtual SkISize onISize() SK_OVERRIDE { return SkISize::Make(800, 400); }
void drawBG(SkCanvas* canvas) {
canvas->drawColor(0xFF000000);
}
// Reproduces the example given in bug 7671058.
- virtual void onDraw(SkCanvas* canvas) {
+ virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
SkPaint paint1, paint2, paint3;
paint1.setStyle(SkPaint::kFill_Style);
paint2.setStyle(SkPaint::kFill_Style);
« no previous file with comments | « gm/glyph_pos_align.cpp ('k') | gm/gradtext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698