Index: bench/XfermodeBench.cpp |
diff --git a/bench/XfermodeBench.cpp b/bench/XfermodeBench.cpp |
index 0f70a4c053d56d59aeff1a85421385bc699a5e82..993fc8f7b122475a83ff6a9faf683e73dd65c90b 100644 |
--- a/bench/XfermodeBench.cpp |
+++ b/bench/XfermodeBench.cpp |
@@ -36,7 +36,7 @@ protected: |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
SkISize size = canvas->getDeviceSize(); |
SkRandom random; |
- for (int i = 0; i < kNumRects; ++i) { |
+ for (int i = 0; i < this->getLoops(); ++i) { |
SkPaint paint; |
paint.setXfermode(fXfermode.get()); |
paint.setColor(random.nextU()); |
@@ -54,7 +54,6 @@ protected: |
private: |
enum { |
- kNumRects = SkBENCHLOOP(75), |
kMinSize = 50, |
kMaxSize = 100, |
}; |