Bug 734718 - Recycle Bitmap instead of waiting for GC. r=kats

--HG--
extra : rebase_source : a2dc7f1b9e1997b5323456d291cb3690d3a92192
This commit is contained in:
Benoit Girard 2012-10-31 14:46:11 -04:00
parent b70d7b6139
commit 3e161d1f13

View File

@ -59,6 +59,7 @@ public class CanvasDelegate {
mPaint.setXfermode(mMode);
canvas.drawBitmap(bitmap, 0, 0, mPaint);
bitmap.recycle();
mPaint.setXfermode(null);
}