Index: samplecode/SampleTextOnPath.cpp |
diff --git a/samplecode/SampleTextOnPath.cpp b/samplecode/SampleTextOnPath.cpp |
index 6d79e2075517a1f3d034a956a0ea49b6767ae7d8..2ba387a32a496d6ba112b722de902e3d0bdc99c6 100644 |
--- a/samplecode/SampleTextOnPath.cpp |
+++ b/samplecode/SampleTextOnPath.cpp |
@@ -105,7 +105,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, "Text On Path"); |
return true; |
@@ -113,7 +113,7 @@ protected: |
return this->INHERITED::onQuery(evt); |
} |
- virtual void onDrawContent(SkCanvas* canvas) { |
+ virtual void onDrawContent(SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint; |
paint.setAntiAlias(true); |
paint.setTextSize(SkIntToScalar(48)); |
@@ -157,7 +157,7 @@ protected: |
return this->INHERITED::onFindClickHandler(x, y, modi); |
} |
- virtual bool onClick(Click* click) { |
+ virtual bool onClick(Click* click) SK_OVERRIDE { |
return this->INHERITED::onClick(click); |
} |