Index: samplecode/SampleTextAlpha.cpp |
diff --git a/samplecode/SampleTextAlpha.cpp b/samplecode/SampleTextAlpha.cpp |
index 58e1db2686d21d34b711cdeeb31f231279a63ca1..f3440213efb9f98a0d261441436ba59a6d2f0893 100644 |
--- a/samplecode/SampleTextAlpha.cpp |
+++ b/samplecode/SampleTextAlpha.cpp |
@@ -36,7 +36,7 @@ public: |
protected: |
// overrides from SkEventSink |
- bool onQuery(SkEvent* evt) SK_OVERRIDE { |
+ bool onQuery(SkEvent* evt) override { |
if (SampleCode::TitleQ(*evt)) { |
SampleCode::TitleR(evt, "TextAlpha"); |
return true; |
@@ -44,7 +44,7 @@ protected: |
return this->INHERITED::onQuery(evt); |
} |
- void onDrawContent(SkCanvas* canvas) SK_OVERRIDE { |
+ void onDrawContent(SkCanvas* canvas) override { |
const char* str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; |
SkPaint paint; |
SkScalar x = SkIntToScalar(10); |
@@ -69,11 +69,11 @@ protected: |
} |
} |
- SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) SK_OVERRIDE { |
+ SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { |
return new Click(this); |
} |
- bool onClick(Click* click) SK_OVERRIDE { |
+ bool onClick(Click* click) override { |
int y = click->fICurr.fY; |
if (y < 0) { |
y = 0; |