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 id22242
push userkgupta@mozilla.com
push dateWed, 14 Mar 2012 15:19:09 +0000
treeherdermozilla-central@936ef50fa498 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmuizelaar
bugs726827
milestone13.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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())