mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 734718 - Recycle Bitmap instead of waiting for GC. r=kats
--HG-- extra : rebase_source : a2dc7f1b9e1997b5323456d291cb3690d3a92192
This commit is contained in:
parent
b70d7b6139
commit
3e161d1f13
@ -59,6 +59,7 @@ public class CanvasDelegate {
|
||||
|
||||
mPaint.setXfermode(mMode);
|
||||
canvas.drawBitmap(bitmap, 0, 0, mPaint);
|
||||
bitmap.recycle();
|
||||
|
||||
mPaint.setXfermode(null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user