mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 726827 - MAPLE: Black thumbnails r=jmuizelaar
This commit is contained in:
parent
30a4795d1c
commit
d91772d0d4
@ -361,14 +361,7 @@ public abstract class GeckoLayerClient implements GeckoEventListener,
|
||||
}
|
||||
|
||||
public Bitmap getBitmap() {
|
||||
Log.e(LOGTAG, "### getBitmap");
|
||||
IntSize size = getBufferSize();
|
||||
try {
|
||||
return Bitmap.createBitmap(size.width, size.height, Bitmap.Config.RGB_565);
|
||||
} catch (OutOfMemoryError oom) {
|
||||
Log.e(LOGTAG, "Unable to create bitmap", oom);
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public void render() {
|
||||
|
Loading…
Reference in New Issue
Block a user