Index: tools/VisualBench.cpp |
diff --git a/tools/VisualBench.cpp b/tools/VisualBench.cpp |
index cbc89945924833633aa57c17200029c15fa06f91..ac53b43167f3cb09e1d6f217f0b65ff34e259039 100644 |
--- a/tools/VisualBench.cpp |
+++ b/tools/VisualBench.cpp |
@@ -152,7 +152,7 @@ void VisualBench::printStats() { |
SkDebugf("%s\n", shortName.c_str()); |
} else { |
SkASSERT(measurements.count()); |
- Stats stats(measurements.begin(), measurements.count()); |
+ Stats stats(measurements); |
const double stdDevPercent = 100 * sqrt(stats.var) / stats.mean; |
SkDebugf("%4d/%-4dMB\t%d\t%d\t%s\t%s\t%s\t%s\t%.0f%%\t%s\n", |
sk_tools::getCurrResidentSetSizeMB(), |