Index: samplecode/SampleFatBits.cpp |
diff --git a/samplecode/SampleFatBits.cpp b/samplecode/SampleFatBits.cpp |
index 62d4a3d956c249f66cdf420b850c92d4c17e2fdf..9036fbe89a7aec5c5d187cdb1a776219504e64f6 100644 |
--- a/samplecode/SampleFatBits.cpp |
+++ b/samplecode/SampleFatBits.cpp |
@@ -446,7 +446,7 @@ protected: |
return this->INHERITED::onQuery(evt); |
} |
- virtual void onDrawContent(SkCanvas* canvas) { |
+ void onDrawContent(SkCanvas* canvas) override { |
fFB.drawBG(canvas); |
if (fFB.getTriangle()) { |
fFB.drawTriangle(canvas, fPts); |
@@ -473,8 +473,7 @@ protected: |
} |
} |
- virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, |
- unsigned modi) override { |
+ SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) override { |
SkPoint pt = { x, y }; |
int index = -1; |
int count = fFB.getTriangle() ? 3 : 2; |