aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/filltypes.cpp
diff options
context:
space:
mode:
authorGravatar tfarina <tfarina@chromium.org>2015-01-05 17:18:51 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-05 17:18:51 -0800
commitaa458fb20a4350da581f8ceec69ea16eec295ced (patch)
treedb81877fcdf6d4bf361ddfce5f81072ea5cc996b /gm/filltypes.cpp
parent4dd6b72b31d091968c6cc92558684d87cc7b2008 (diff)
Cleanup: More override fixes - another round.
BUG=skia:3075 TEST=ninja -C out/Debug TBR=reed@google.com Review URL: https://codereview.chromium.org/831113002
Diffstat (limited to 'gm/filltypes.cpp')
-rw-r--r--gm/filltypes.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/gm/filltypes.cpp b/gm/filltypes.cpp
index 8859ea1191..dbbe4fefbd 100644
--- a/gm/filltypes.cpp
+++ b/gm/filltypes.cpp
@@ -29,17 +29,16 @@ protected:
return kSkipTiled_Flag;
}
- virtual SkString onShortName() {
+ virtual SkString onShortName() SK_OVERRIDE {
return SkString("filltypes");
}
- virtual SkISize onISize() {
+ virtual SkISize onISize() SK_OVERRIDE {
return SkISize::Make(835, 840);
}
void showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft,
SkScalar scale, const SkPaint& paint) {
-
const SkRect r = { 0, 0, SkIntToScalar(150), SkIntToScalar(150) };
canvas->save();
@@ -65,7 +64,7 @@ protected:
scale, paint);
}
- virtual void onDraw(SkCanvas* canvas) {
+ virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
this->makePath();
canvas->translate(SkIntToScalar(20), SkIntToScalar(20));