Index: src/animator/SkDrawShader.cpp |
diff --git a/src/animator/SkDrawShader.cpp b/src/animator/SkDrawShader.cpp |
index 9e3becc48b94cc23947aac7b25fdcc504340bb6c..2868b9f4efe7c76c891e338eede568fb1eac8a00 100644 |
--- a/src/animator/SkDrawShader.cpp |
+++ b/src/animator/SkDrawShader.cpp |
@@ -71,8 +71,8 @@ SkShader* SkDrawBitmapShader::getShader() { |
// |
// oops, bitmapshader no longer takes filterBitmap, but deduces it at |
// draw-time from the paint |
- return SkShader::CreateBitmapShader(image->fBitmap, |
+ return SkShader::MakeBitmapShader(image->fBitmap, |
(SkShader::TileMode) tileMode, |
(SkShader::TileMode) tileMode, |
- getMatrix()); |
+ getMatrix()).release(); |
} |