diff options
Diffstat (limited to 'bench/PremulAndUnpremulAlphaOpsBench.cpp')
-rw-r--r-- | bench/PremulAndUnpremulAlphaOpsBench.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/PremulAndUnpremulAlphaOpsBench.cpp b/bench/PremulAndUnpremulAlphaOpsBench.cpp index f552097b60..eb494f46d9 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 |