diff options
author | tfarina <tfarina@chromium.org> | 2015-01-05 17:18:51 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-05 17:18:51 -0800 |
commit | aa458fb20a4350da581f8ceec69ea16eec295ced (patch) | |
tree | db81877fcdf6d4bf361ddfce5f81072ea5cc996b /samplecode/SampleRegion.cpp | |
parent | 4dd6b72b31d091968c6cc92558684d87cc7b2008 (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 'samplecode/SampleRegion.cpp')
-rw-r--r-- | samplecode/SampleRegion.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samplecode/SampleRegion.cpp b/samplecode/SampleRegion.cpp index 54858de7a1..70105d2a6d 100644 --- a/samplecode/SampleRegion.cpp +++ b/samplecode/SampleRegion.cpp @@ -219,7 +219,7 @@ public: protected: // overrides from SkEventSink - virtual bool onQuery(SkEvent* evt) { + virtual bool onQuery(SkEvent* evt) SK_OVERRIDE { if (SampleCode::TitleQ(*evt)) { SampleCode::TitleR(evt, "Regions"); return true; @@ -321,7 +321,7 @@ protected: canvas->drawPath(path, paint); } - virtual void onDrawContent(SkCanvas* canvas) { + virtual void onDrawContent(SkCanvas* canvas) SK_OVERRIDE { if (false) { // avoid bit rot, suppress warning test_strokerect(canvas); return; @@ -399,7 +399,7 @@ protected: SkScalarRoundToInt(y)) ? new Click(this) : NULL; } - virtual bool onClick(Click* click) { + virtual bool onClick(Click* click) SK_OVERRIDE { fRect.offset(click->fICurr.fX - click->fIPrev.fX, click->fICurr.fY - click->fIPrev.fY); this->inval(NULL); |