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

Unified Diff: bench/ColorPrivBench.cpp

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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/ColorFilterBench.cpp ('k') | bench/CoverageBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/ColorPrivBench.cpp
diff --git a/bench/ColorPrivBench.cpp b/bench/ColorPrivBench.cpp
index 01810ed2399dfc47191750a5c1c8ce92d92e8cae..4d04e897088f81cc31d4f02906ed941c355d513a 100644
--- a/bench/ColorPrivBench.cpp
+++ b/bench/ColorPrivBench.cpp
@@ -12,13 +12,13 @@ public:
fName.append(kScale ? "_255" : "_256");
}
- virtual bool isSuitableFor(Backend backend) SK_OVERRIDE {
+ bool isSuitableFor(Backend backend) SK_OVERRIDE {
return backend == kNonRendering_Backend;
}
- virtual const char* onGetName() SK_OVERRIDE { return fName.c_str(); }
+ const char* onGetName() SK_OVERRIDE { return fName.c_str(); }
- virtual void onPreDraw() SK_OVERRIDE {
+ void onPreDraw() SK_OVERRIDE {
// A handful of random srcs and dsts.
SkRandom rand;
for (int i = 0; i < kInputs; i++) {
@@ -33,7 +33,7 @@ public:
if (kScale) fScales[256] = 255; // We'll just do 255 twice if we're limited to [0,255].
}
- virtual void onDraw(const int loops, SkCanvas*) SK_OVERRIDE {
+ void onDraw(const int loops, SkCanvas*) SK_OVERRIDE {
// We xor results of FourByteInterp into junk to make sure the function runs.
volatile SkPMColor junk = 0;
« no previous file with comments | « bench/ColorFilterBench.cpp ('k') | bench/CoverageBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698