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

Unified Diff: bench/ImageFilterCollapse.cpp

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 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/ImageCacheBench.cpp ('k') | bench/ImageFilterDAGBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/ImageFilterCollapse.cpp
diff --git a/bench/ImageFilterCollapse.cpp b/bench/ImageFilterCollapse.cpp
index 4e56c72f57fafef59118f8066435f00d88f49586..c631c99262a902351027148ceae2cfed2ad69617 100644
--- a/bench/ImageFilterCollapse.cpp
+++ b/bench/ImageFilterCollapse.cpp
@@ -39,7 +39,7 @@ protected:
}
}
- void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE {
+ void onDraw(const int loops, SkCanvas* canvas) override {
makeBitmap();
for(int i = 0; i < loops; i++) {
@@ -79,11 +79,11 @@ public:
virtual ~TableCollapseBench() {}
protected:
- virtual const char* onGetName() SK_OVERRIDE {
+ virtual const char* onGetName() override {
return "image_filter_collapse_table";
}
- virtual void onPreDraw() SK_OVERRIDE {
+ virtual void onPreDraw() override {
for (int i = 0; i < 256; ++i) {
int n = i >> 5;
table1[i] = (n << 5) | (n << 2) | (n >> 1);
@@ -135,11 +135,11 @@ public:
virtual ~MatrixCollapseBench() {}
protected:
- virtual const char* onGetName() SK_OVERRIDE {
+ virtual const char* onGetName() override {
return "image_filter_collapse_matrix";
}
- virtual void onPreDraw() SK_OVERRIDE {
+ virtual void onPreDraw() override {
SkColorFilter* colorFilters[] = {
make_brightness(0.1f),
make_grayscale(),
« no previous file with comments | « bench/ImageCacheBench.cpp ('k') | bench/ImageFilterDAGBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698