Index: samplecode/SampleText.cpp |
diff --git a/samplecode/SampleText.cpp b/samplecode/SampleText.cpp |
index 7f872a9fab62f905d4b522bcad5224be869addcd..82fee4a79a3c6a7f00710420614c9687ed4ab196 100644 |
--- a/samplecode/SampleText.cpp |
+++ b/samplecode/SampleText.cpp |
@@ -115,7 +115,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"); |
return true; |
@@ -143,7 +143,7 @@ protected: |
pts[i].set(rand->nextUScalar1() * 640, rand->nextUScalar1() * 480); |
} |
- virtual void onDrawContent(SkCanvas* canvas) { |
+ virtual void onDrawContent(SkCanvas* canvas) SK_OVERRIDE { |
SkAutoCanvasRestore restore(canvas, false); |
{ |
SkRect r; |
@@ -192,7 +192,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); |
} |