Index: gm/bitmapsource.cpp |
diff --git a/gm/bitmapsource.cpp b/gm/bitmapsource.cpp |
index 1c35a0bdc9db08900e140e9e57def11130b9d4a0..d59524f01169c164ce34591d69d66fd128c67b70 100644 |
--- a/gm/bitmapsource.cpp |
+++ b/gm/bitmapsource.cpp |
@@ -17,7 +17,7 @@ public: |
} |
protected: |
- SkString onShortName() SK_OVERRIDE { |
+ SkString onShortName() override { |
return SkString("bitmapsource"); |
} |
@@ -34,9 +34,9 @@ protected: |
canvas.drawText(str, strlen(str), SkIntToScalar(20), SkIntToScalar(70), paint); |
} |
- SkISize onISize() SK_OVERRIDE { return SkISize::Make(500, 150); } |
+ SkISize onISize() override { return SkISize::Make(500, 150); } |
- void onOnceBeforeDraw() SK_OVERRIDE { |
+ void onOnceBeforeDraw() override { |
this->makeBitmap(); |
} |
@@ -49,7 +49,7 @@ protected: |
canvas->restore(); |
} |
- void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
+ void onDraw(SkCanvas* canvas) override { |
canvas->clear(0x00000000); |
{ |
SkRect srcRect = SkRect::MakeXYWH(20, 20, 30, 30); |