Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3734)

Unified Diff: bench/BitmapScaleBench.cpp

Issue 1232463006: Fix up -Winconsistent-missing-override (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: llvm_coverage_build Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/BitmapBench.cpp ('k') | bench/ChecksumBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/BitmapScaleBench.cpp
diff --git a/bench/BitmapScaleBench.cpp b/bench/BitmapScaleBench.cpp
index f71e10ff6a0ac46ca12e76a077f909d1ed145b94..2bfa31298995cc9960b1dc4618d77ea48b39ccaa 100644
--- a/bench/BitmapScaleBench.cpp
+++ b/bench/BitmapScaleBench.cpp
@@ -32,7 +32,7 @@ protected:
SkBitmap fInputBitmap, fOutputBitmap;
SkMatrix fMatrix;
- virtual const char* onGetName() {
+ const char* onGetName() override {
return fName.c_str();
}
@@ -56,7 +56,7 @@ protected:
fName.printf( "bitmap_scale_%s_%d_%d", name, fInputSize, fOutputSize );
}
- virtual void onPreDraw() {
+ void onPreDraw() override {
fInputBitmap.allocN32Pixels(fInputSize, fInputSize, true);
fInputBitmap.eraseColor(SK_ColorWHITE);
@@ -65,7 +65,7 @@ protected:
fMatrix.setScale( scale(), scale() );
}
- virtual void onDraw(const int loops, SkCanvas*) {
+ void onDraw(const int loops, SkCanvas*) override {
SkPaint paint;
this->setupPaint(&paint);
« no previous file with comments | « bench/BitmapBench.cpp ('k') | bench/ChecksumBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698