Index: samplecode/SampleStringArt.cpp |
diff --git a/samplecode/SampleStringArt.cpp b/samplecode/SampleStringArt.cpp |
index 852247878376f8e5c3d08f6cc431d7634a144298..569fd7f337f97fda3d4239363c4b41acc63b870e 100644 |
--- a/samplecode/SampleStringArt.cpp |
+++ b/samplecode/SampleStringArt.cpp |
@@ -19,7 +19,7 @@ public: |
protected: |
// overrides from SkEventSink |
- bool onQuery(SkEvent* evt) SK_OVERRIDE { |
+ bool onQuery(SkEvent* evt) override { |
if (SampleCode::TitleQ(*evt)) { |
SampleCode::TitleR(evt, "StringArt"); |
return true; |
@@ -27,7 +27,7 @@ protected: |
return this->INHERITED::onQuery(evt); |
} |
- void onDrawContent(SkCanvas* canvas) SK_OVERRIDE { |
+ void onDrawContent(SkCanvas* canvas) override { |
SkScalar angle = fAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); |
SkPoint center = SkPoint::Make(SkScalarHalf(this->width()), SkScalarHalf(this->height())); |
@@ -55,7 +55,7 @@ protected: |
canvas->drawPath(path, paint); |
} |
- SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) SK_OVERRIDE { |
+ SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { |
fAngle = x/width(); |
this->inval(NULL); |
return NULL; |