Index: bench/DeferredSurfaceCopyBench.cpp |
diff --git a/bench/DeferredSurfaceCopyBench.cpp b/bench/DeferredSurfaceCopyBench.cpp |
index cbf96d0f919fbd968be97c33171be6959c7f10bd..7c9abea87f77ff072a614223493cf6351d65ea29 100644 |
--- a/bench/DeferredSurfaceCopyBench.cpp |
+++ b/bench/DeferredSurfaceCopyBench.cpp |
@@ -17,7 +17,6 @@ |
class DeferredSurfaceCopyBench : public SkBenchmark { |
enum { |
- N = SkBENCHLOOP(5), |
kSurfaceWidth = 1000, |
kSurfaceHeight = 1000, |
}; |
@@ -56,7 +55,7 @@ protected: |
SkAutoTUnref<SkDeferredCanvas> drawingCanvas(SkDeferredCanvas::Create(surface)); |
surface->unref(); |
- for (int iteration = 0; iteration < N; iteration++) { |
+ for (int iteration = 0; iteration < this->getLoops(); iteration++) { |
drawingCanvas->clear(0); |
SkAutoTUnref<SkImage> image(drawingCanvas->newImageSnapshot()); |
SkPaint paint; |