Index: bench/TextBench.cpp |
diff --git a/bench/TextBench.cpp b/bench/TextBench.cpp |
index 0a6af34d8f6b8555fa5356c9cf3951c1727a0c2e..2d051c93edf4387674f95e2edcea41f4db89ee16 100644 |
--- a/bench/TextBench.cpp |
+++ b/bench/TextBench.cpp |
@@ -90,7 +90,7 @@ protected: |
} |
- virtual const char* onGetName() { |
+ const char* onGetName() override { |
fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize())); |
if (fDoPos) { |
fName.append("_pos"); |
@@ -109,7 +109,7 @@ protected: |
return fName.c_str(); |
} |
- virtual void onDraw(const int loops, SkCanvas* canvas) { |
+ void onDraw(const int loops, SkCanvas* canvas) override { |
const SkIPoint dim = this->getSize(); |
SkRandom rand; |