Index: samplecode/OverView.cpp |
diff --git a/samplecode/OverView.cpp b/samplecode/OverView.cpp |
index bbf647ae68d1fd72439eb0fea077dd03168a5801..bdb8ddd657ef914c377aca5913eac99e61ef98a6 100644 |
--- a/samplecode/OverView.cpp |
+++ b/samplecode/OverView.cpp |
@@ -48,8 +48,8 @@ public: |
virtual ~OverView(); |
protected: |
- bool onEvent(const SkEvent&) SK_OVERRIDE; |
- bool onQuery(SkEvent* evt) SK_OVERRIDE { |
+ bool onEvent(const SkEvent&) override; |
+ bool onQuery(SkEvent* evt) override { |
if (SampleCode::TitleQ(*evt)) { |
SampleCode::TitleR(evt, "Overview"); |
return true; |
@@ -66,13 +66,13 @@ protected: |
return this->INHERITED::onQuery(evt); |
} |
- void onDraw(SkCanvas* canvas) SK_OVERRIDE; |
+ void onDraw(SkCanvas* canvas) override; |
- bool onSendClickToChildren(SkScalar x, SkScalar y, unsigned modi) SK_OVERRIDE { |
+ bool onSendClickToChildren(SkScalar x, SkScalar y, unsigned modi) override { |
return false; |
} |
- Click* onFindClickHandler(SkScalar cx, SkScalar cy, unsigned modi) SK_OVERRIDE { |
+ Click* onFindClickHandler(SkScalar cx, SkScalar cy, unsigned modi) override { |
const SkRect crect = SkRect::MakeXYWH(cx - 0.5f, cy - 0.5f, 1, 1); |
SkPoint loc = this->start(); |
for (int i = 0; i < fCount; ++i) { |