Index: bench/ETCBitmapBench.cpp |
diff --git a/bench/ETCBitmapBench.cpp b/bench/ETCBitmapBench.cpp |
index 4255923c4b99e3dbc06a3300334e8bd358c74f86..351b0ea09fabef0a73311f8d1c1ac8c0a9c1cda7 100644 |
--- a/bench/ETCBitmapBench.cpp |
+++ b/bench/ETCBitmapBench.cpp |
@@ -122,12 +122,12 @@ public: |
ETCBitmapBench(bool decompress, Backend backend) |
: fDecompress(decompress), fBackend(backend) { } |
- virtual bool isSuitableFor(Backend backend) SK_OVERRIDE { |
+ bool isSuitableFor(Backend backend) SK_OVERRIDE { |
return backend == this->fBackend; |
} |
protected: |
- virtual const char* onGetName() SK_OVERRIDE { |
+ const char* onGetName() SK_OVERRIDE { |
if (kGPU_Backend == this->fBackend) { |
if (this->fDecompress) { |
return "etc1bitmap_render_gpu_decompressed"; |
@@ -144,7 +144,7 @@ protected: |
} |
} |
- virtual void onPreDraw() SK_OVERRIDE { |
+ void onPreDraw() SK_OVERRIDE { |
if (NULL == fPKMData) { |
SkDebugf("Failed to load PKM data!\n"); |
return; |
@@ -162,7 +162,7 @@ protected: |
} |
} |
- virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
+ void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
for (int i = 0; i < loops; ++i) { |
canvas->drawBitmap(this->fBitmap, 0, 0, NULL); |
} |
@@ -187,7 +187,7 @@ public: |
: ETCBitmapBench(decompress, backend) { } |
protected: |
- virtual const char* onGetName() SK_OVERRIDE { |
+ const char* onGetName() SK_OVERRIDE { |
if (kGPU_Backend == this->backend()) { |
if (this->decompress()) { |
return "etc1bitmap_upload_gpu_decompressed"; |
@@ -204,7 +204,7 @@ protected: |
} |
} |
- virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
+ void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
SkPixelRef* pr = fBitmap.pixelRef(); |
for (int i = 0; i < loops; ++i) { |
if (pr) { |