bug 726827 - MAPLE: Black thumbnails r=jmuizelaar
authorBrad Lassey <blassey@mozilla.com>
Tue, 21 Feb 2012 01:22:56 -0500
changeset 89197 d644bee235512829194d6d2766001752c5f9e87f
parent 89196 d4c1c420f2c80b663c501e0277c02399558008ef
child 89198 a442ffe3c5cb459fd11d6e561f6da70bc6245093
push idunknown
push userunknown
push dateunknown
reviewersjmuizelaar
bugs726827
milestone13.0a1
bug 726827 - MAPLE: Black thumbnails r=jmuizelaar
mobile/android/base/gfx/GeckoLayerClient.java
--- a/mobile/android/base/gfx/GeckoLayerClient.java
+++ b/mobile/android/base/gfx/GeckoLayerClient.java
@@ -356,24 +356,17 @@ public abstract class GeckoLayerClient i
     }
 
     protected void tileLayerUpdated() {
         // Set the new origin and resolution instantly.
         mTileLayer.performUpdates(null);
     }
 
     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() {
         adjustViewportWithThrottling();
     }
 
     private void adjustViewportWithThrottling() {
         if (!mLayerController.getRedrawHint())