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

Unified Diff: gm/tiledscaledbitmap.cpp

Issue 815883002: Cleanup: Another round of override fixes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: revert include changes Created 6 years 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/texdata.cpp ('k') | gm/tilemodes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « gm/texdata.cpp ('k') | gm/tilemodes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698