bug 726827 - MAPLE: Black thumbnails r=jmuizelaar

This commit is contained in:
Brad Lassey 2012-02-21 01:22:56 -05:00
parent 30a4795d1c
commit d91772d0d4

View File

@ -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() {