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); |