backout 81a1a3b6862d
authorGeoff Brown <gbrown@mozilla.com>
Wed, 18 Feb 2015 11:07:29 -0700
changeset 326742 047daa761fe084b6caf8b90d56ef0cb0b24adec6
parent 326741 6bdbe725837d18ec860022888ad41b91bc72d0f0
child 326743 a828f3c3e24960a9ddfce7ec547e69a79b06efb7
push id10169
push userdminor@mozilla.com
push dateThu, 28 Jan 2016 13:10:48 +0000
milestone38.0a1
backs out81a1a3b6862d71cbb841c6ec8ec97301ccb2cd0d
backout 81a1a3b6862d
mobile/android/base/gfx/GeckoLayerClient.java
--- a/mobile/android/base/gfx/GeckoLayerClient.java
+++ b/mobile/android/base/gfx/GeckoLayerClient.java
@@ -724,19 +724,16 @@ class GeckoLayerClient implements LayerV
 
         return syncViewportInfo(x, y, width, height, resolution, layersUpdated);
     }
 
     @WrapElementForJNI(allowMultithread = true)
     public LayerRenderer.Frame createFrame() {
         // Create the shaders and textures if necessary.
         if (!mLayerRendererInitialized) {
-            if (mLayerRenderer == null) {
-                return null;
-            }
             mLayerRenderer.checkMonitoringEnabled();
             mLayerRenderer.createDefaultProgram();
             mLayerRendererInitialized = true;
         }
 
         try {
             return mLayerRenderer.createFrame(mFrameMetrics);
         } catch (Exception e) {