Index: bench/WritePixelsBench.cpp |
diff --git a/bench/WritePixelsBench.cpp b/bench/WritePixelsBench.cpp |
index 7803a6d70bd0d616f4078b19d5b837cf47150c40..a9b6763f152755feead2642954c8905ab44b6aae 100644 |
--- a/bench/WritePixelsBench.cpp |
+++ b/bench/WritePixelsBench.cpp |
@@ -56,14 +56,12 @@ protected: |
bmp.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height()); |
canvas->readPixels(&bmp, 0, 0); |
- for (int loop = 0; loop < kLoopCount; ++loop) { |
+ for (int loop = 0; loop < this->getLoops(); ++loop) { |
canvas->writePixels(bmp, 0, 0, fConfig); |
} |
} |
private: |
- static const int kLoopCount = SkBENCHLOOP(50); |
- |
SkCanvas::Config8888 fConfig; |
SkString fName; |