Index: gm/downsamplebitmap.cpp |
diff --git a/gm/downsamplebitmap.cpp b/gm/downsamplebitmap.cpp |
index 1d204fc71a202ab03da9781a4a671ff735d4c721..994ab9412b77900acb96e88b02957e392c94a192 100644 |
--- a/gm/downsamplebitmap.cpp |
+++ b/gm/downsamplebitmap.cpp |
@@ -78,7 +78,8 @@ protected: |
canvas->save(); |
canvas->translate(0, (SkScalar)curY); |
- canvas->drawBitmapMatrix( fBM, matrix, &paint ); |
+ canvas->concat(matrix); |
+ canvas->drawBitmap(fBM, 0, 0, &paint); |
canvas->restore(); |
curHeight = (int) (fBM.height() * curScale + 2); |