Index: gm/strokes.cpp |
diff --git a/gm/strokes.cpp b/gm/strokes.cpp |
index 2a92c031ae8243d434fffc2a984f237476ae2d91..0a8f121b491fa296c028e3f7bd43b67e7026c59f 100644 |
--- a/gm/strokes.cpp |
+++ b/gm/strokes.cpp |
@@ -43,15 +43,15 @@ protected: |
return kSkipTiled_Flag; |
} |
- virtual SkString onShortName() { |
+ virtual SkString onShortName() SK_OVERRIDE { |
return SkString("strokes_round"); |
} |
- virtual SkISize onISize() { |
+ virtual SkISize onISize() SK_OVERRIDE { |
return SkISize::Make(W, H*2); |
} |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint; |
paint.setStyle(SkPaint::kStroke_Style); |
paint.setStrokeWidth(SkIntToScalar(9)/2); |
@@ -99,11 +99,11 @@ protected: |
return kSkipTiled_Flag; |
} |
- virtual SkString onShortName() { |
+ virtual SkString onShortName() SK_OVERRIDE { |
return SkString("strokes_poly"); |
} |
- virtual SkISize onISize() { |
+ virtual SkISize onISize() SK_OVERRIDE { |
return SkISize::Make(W, H*2); |
} |
@@ -113,7 +113,7 @@ protected: |
canvas->concat(matrix); |
} |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
canvas->drawColor(SK_ColorWHITE); |
SkPaint paint; |
@@ -200,15 +200,15 @@ protected: |
return kSkipTiled_Flag; |
} |
- virtual SkString onShortName() { |
+ virtual SkString onShortName() SK_OVERRIDE { |
return SkString("strokes3"); |
} |
- virtual SkISize onISize() { |
+ virtual SkISize onISize() SK_OVERRIDE { |
return SkISize::Make(W, H*2); |
} |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
SkPaint origPaint; |
origPaint.setAntiAlias(true); |
origPaint.setStyle(SkPaint::kStroke_Style); |