Index: bench/RefCntBench.cpp |
diff --git a/bench/RefCntBench.cpp b/bench/RefCntBench.cpp |
index f846b1ac604a55f222788bcda8873bfea0a0faaa..d440d99db2581663da7b948d58af93052eb34a21 100644 |
--- a/bench/RefCntBench.cpp |
+++ b/bench/RefCntBench.cpp |
@@ -191,11 +191,11 @@ public: |
} |
protected: |
- virtual const char* onGetName() { |
+ virtual const char* onGetName() SK_OVERRIDE { |
return "ref_cnt_heap_weak"; |
} |
- virtual void onDraw(const int loops, SkCanvas*) { |
+ virtual void onDraw(const int loops, SkCanvas*) SK_OVERRIDE { |
char memory[sizeof(PlacedWeakRefCnt)]; |
for (int i = 0; i < loops; ++i) { |
PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); |
@@ -218,11 +218,11 @@ public: |
} |
protected: |
- virtual const char* onGetName() { |
+ virtual const char* onGetName() SK_OVERRIDE { |
return "ref_cnt_new_weak"; |
} |
- virtual void onDraw(const int loops, SkCanvas*) { |
+ virtual void onDraw(const int loops, SkCanvas*) SK_OVERRIDE { |
for (int i = 0; i < loops; ++i) { |
SkWeakRefCnt* ref = new SkWeakRefCnt(); |
for (int j = 0; j < M; ++j) { |