Index: bench/GrOrderedSetBench.cpp |
diff --git a/bench/GrOrderedSetBench.cpp b/bench/GrOrderedSetBench.cpp |
index 280ed2cc35f08e274151891fa77224d2c1381d59..f532a83b36e0499f736fdf252462d41ef09430f3 100644 |
--- a/bench/GrOrderedSetBench.cpp |
+++ b/bench/GrOrderedSetBench.cpp |
@@ -21,25 +21,25 @@ public: |
fName.append("ordered_set_build"); |
} |
- bool isSuitableFor(Backend backend) SK_OVERRIDE { |
+ bool isSuitableFor(Backend backend) override { |
return kNonRendering_Backend == backend; |
} |
virtual ~GrOrderedSetBuildBench() {} |
protected: |
- const char* onGetName() SK_OVERRIDE { |
+ const char* onGetName() override { |
return fName.c_str(); |
} |
- void onPreDraw() SK_OVERRIDE { |
+ void onPreDraw() override { |
SkRandom rand; |
for (int j = 0; j < NUM_ELEMENTS; ++j) { |
fData[j] = rand.nextU() % NUM_ELEMENTS; |
} |
} |
- void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
+ void onDraw(const int loops, SkCanvas* canvas) override { |
for (int i = 0; i < loops; ++i) { |
GrOrderedSet<int> set; |
for (int j = 0; j < NUM_ELEMENTS; ++j) { |
@@ -62,18 +62,18 @@ public: |
fName.append("ordered_set_find"); |
} |
- bool isSuitableFor(Backend backend) SK_OVERRIDE { |
+ bool isSuitableFor(Backend backend) override { |
return kNonRendering_Backend == backend; |
} |
virtual ~GrOrderedSetFindBench() {} |
protected: |
- const char* onGetName() SK_OVERRIDE { |
+ const char* onGetName() override { |
return fName.c_str(); |
} |
- void onPreDraw() SK_OVERRIDE { |
+ void onPreDraw() override { |
SkRandom rand; |
for (int j = 0; j < NUM_ELEMENTS; ++j) { |
fData[j] = rand.nextU() % 1500; |
@@ -81,7 +81,7 @@ protected: |
} |
} |
- void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
+ void onDraw(const int loops, SkCanvas* canvas) override { |
for (int i = 0; i < loops; ++i) { |
for (int j = 0; j < NUM_ELEMENTS; ++j) { |
fSet.find(fData[j]); |
@@ -103,25 +103,25 @@ public: |
fName.append("ordered_set_remove"); |
} |
- bool isSuitableFor(Backend backend) SK_OVERRIDE { |
+ bool isSuitableFor(Backend backend) override { |
return kNonRendering_Backend == backend; |
} |
virtual ~GrOrderedSetRemoveBench() {} |
protected: |
- const char* onGetName() SK_OVERRIDE { |
+ const char* onGetName() override { |
return fName.c_str(); |
} |
- void onPreDraw() SK_OVERRIDE { |
+ void onPreDraw() override { |
SkRandom rand; |
for (int j = 0; j < NUM_ELEMENTS; ++j) { |
fSet.insert(rand.nextU() % NUM_ELEMENTS); |
} |
} |
- void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
+ void onDraw(const int loops, SkCanvas* canvas) override { |
typedef GrOrderedSet<int>::Iter SetIter; |
for (int i = 0; i < loops; ++i) { |
GrOrderedSet<int> testSet; |