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