aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleTextAlpha.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 /samplecode/SampleTextAlpha.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 'samplecode/SampleTextAlpha.cpp')
-rw-r--r--samplecode/SampleTextAlpha.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/samplecode/SampleTextAlpha.cpp b/samplecode/SampleTextAlpha.cpp
index 3f4e0dbba9..f5c8e9da14 100644
--- a/samplecode/SampleTextAlpha.cpp
+++ b/samplecode/SampleTextAlpha.cpp
@@ -36,7 +36,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, "TextAlpha");
return true;
@@ -44,7 +44,7 @@ protected:
return this->INHERITED::onQuery(evt);
}
- virtual void onDrawContent(SkCanvas* canvas) {
+ virtual void onDrawContent(SkCanvas* canvas) SK_OVERRIDE {
const char* str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
SkPaint paint;
SkScalar x = SkIntToScalar(10);
@@ -73,7 +73,7 @@ protected:
return new Click(this);
}
- virtual bool onClick(Click* click) {
+ virtual bool onClick(Click* click) SK_OVERRIDE {
int y = click->fICurr.fY;
if (y < 0) {
y = 0;