Index: gm/tiledscaledbitmap.cpp |
diff --git a/gm/tiledscaledbitmap.cpp b/gm/tiledscaledbitmap.cpp |
index 3ea110c44f6da21304638cb662c92a5e6c560b8b..4bf3b824eb94b8ad611f5472f3eea51919bd9d51 100644 |
--- a/gm/tiledscaledbitmap.cpp |
+++ b/gm/tiledscaledbitmap.cpp |
@@ -31,11 +31,11 @@ public: |
} |
protected: |
- virtual SkString onShortName() { |
+ virtual SkString onShortName() SK_OVERRIDE { |
return SkString("tiledscaledbitmap"); |
} |
- virtual SkISize onISize() { |
+ virtual SkISize onISize() SK_OVERRIDE { |
return SkISize::Make(1016, 616); |
} |
@@ -43,7 +43,7 @@ protected: |
return kSkipTiled_Flag; |
} |
- static SkBitmap make_bm(int width, int height) { |
+ static SkBitmap make_bm(int width, int height) { |
SkBitmap bm; |
bm.allocN32Pixels(width, height); |
bm.eraseColor(SK_ColorTRANSPARENT); |
@@ -51,14 +51,14 @@ protected: |
SkPaint paint; |
paint.setAntiAlias(true); |
canvas.drawCircle(width/2.f, height/2.f, width/4.f, paint); |
- return bm; |
+ return bm; |
} |
virtual void onOnceBeforeDraw() SK_OVERRIDE { |
fBitmap = make_bm(360, 288); |
} |
- virtual void onDraw(SkCanvas* canvas) { |
+ virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint; |
paint.setAntiAlias(true); |