Index: bench/ChecksumBench.cpp |
diff --git a/bench/ChecksumBench.cpp b/bench/ChecksumBench.cpp |
index 9dd87c348153351b5071c30b8227b732d37d88cf..c731a8fa8ffc78411023f2e696549bed5d1838f3 100644 |
--- a/bench/ChecksumBench.cpp |
+++ b/bench/ChecksumBench.cpp |
@@ -40,7 +40,7 @@ public: |
} |
protected: |
- virtual const char* onGetName() { |
+ const char* onGetName() override { |
switch (fType) { |
case kChecksum_ChecksumType: return "compute_checksum"; |
case kMD5_ChecksumType: return "compute_md5"; |
@@ -51,7 +51,7 @@ protected: |
} |
} |
- virtual void onDraw(const int loops, SkCanvas*) { |
+ void onDraw(const int loops, SkCanvas*) override { |
switch (fType) { |
case kChecksum_ChecksumType: { |
for (int i = 0; i < loops; i++) { |