Index: bench/DeferredCanvasBench.cpp |
diff --git a/bench/DeferredCanvasBench.cpp b/bench/DeferredCanvasBench.cpp |
index b063a9c2dddb75964fd000a354658bcba6cd35a8..6ffd2d232789c4a7898a3a739a0bd41a66e7672f 100644 |
--- a/bench/DeferredCanvasBench.cpp |
+++ b/bench/DeferredCanvasBench.cpp |
@@ -83,7 +83,7 @@ protected: |
rect.setXYWH(0, 0, 10, 10); |
SkPaint paint; |
for (int i = 0; i < loops; i++) { |
- canvas->save(SkCanvas::kMatrixClip_SaveFlag); |
+ canvas->save(); |
canvas->translate(SkIntToScalar(i * 27 % CANVAS_WIDTH), SkIntToScalar(i * 13 % CANVAS_HEIGHT)); |
canvas->drawRect(rect, paint); |
canvas->restore(); |