aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/ChromeBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/ChromeBench.cpp')
-rw-r--r--bench/ChromeBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/ChromeBench.cpp b/bench/ChromeBench.cpp
index 8021f92999..fb6dcb2b22 100644
--- a/bench/ChromeBench.cpp
+++ b/bench/ChromeBench.cpp
@@ -468,7 +468,7 @@ protected:
for (int i = 0; i < N; i++) {
SkRect current;
setRectangle(current, i);
- for (int j = 0; j < SkBENCHLOOP(gmailScrollingRectSpec[i*3]); j++) {
+ for (int j = 0; j < this->getLoops() * gmailScrollingRectSpec[i*3]; j++) {
canvas->drawRect(current, paint);
}
}