Index: bench/PremulAndUnpremulAlphaOpsBench.cpp |
diff --git a/bench/PremulAndUnpremulAlphaOpsBench.cpp b/bench/PremulAndUnpremulAlphaOpsBench.cpp |
index f552097b60fcef32fa193d50b9ef7fc79aeba034..eb494f46d966212327927ceea33d0ea02e7f5c57 100644 |
--- a/bench/PremulAndUnpremulAlphaOpsBench.cpp |
+++ b/bench/PremulAndUnpremulAlphaOpsBench.cpp |
@@ -46,8 +46,7 @@ protected: |
bmp2.setConfig(SkBitmap::kARGB_8888_Config, size.width(), |
size.height()); |
- static const int kLoopCount = SkBENCHLOOP(10); |
- for (int loop = 0; loop < kLoopCount; ++loop) { |
+ for (int loop = 0; loop < this->getLoops(); ++loop) { |
// Unpremul -> Premul |
canvas->writePixels(bmp1, 0, 0, fUnPremulConfig); |
// Premul -> Unpremul |