Index: bench/BitmapRectBench.cpp |
diff --git a/bench/BitmapRectBench.cpp b/bench/BitmapRectBench.cpp |
index d3a7574e04f817ce7d258d4713329d4396a8d722..061bfe818be7e453b1cc2141ab4dc847deb30f05 100644 |
--- a/bench/BitmapRectBench.cpp |
+++ b/bench/BitmapRectBench.cpp |
@@ -96,7 +96,8 @@ protected: |
paint.setAlpha(fAlpha); |
for (int i = 0; i < loops; i++) { |
- canvas->drawBitmapRectToRect(fBitmap, &fSrcR, fDstR, &paint); |
+ canvas->drawBitmapRect(fBitmap, &fSrcR, fDstR, &paint, |
+ SkCanvas::kStrict_SrcRectConstraint); |
} |
} |