Index: bench/BitmapScaleBench.cpp |
diff --git a/bench/BitmapScaleBench.cpp b/bench/BitmapScaleBench.cpp |
index fad741aebc72d3cf6bda55088e8227a903b066ab..665e294ece5845b70af9d6958e42c0997b22e8a0 100644 |
--- a/bench/BitmapScaleBench.cpp |
+++ b/bench/BitmapScaleBench.cpp |
@@ -94,7 +94,8 @@ protected: |
paint.setFilterLevel(SkPaint::kHigh_FilterLevel); |
fInputBitmap.notifyPixelsChanged(); |
- canvas.drawBitmapMatrix( fInputBitmap, fMatrix, &paint ); |
+ canvas.concat(fMatrix); |
+ canvas.drawBitmap(fInputBitmap, 0, 0, &paint ); |
} |
private: |
typedef BitmapScaleBench INHERITED; |