bug 701703 - Null pointer exception thrown loading Fennec Start Page r=dougt

This commit is contained in:
Brad Lassey 2011-11-16 10:42:10 -05:00
parent fc7fda77fb
commit b0a7d2f7cb

View File

@ -145,6 +145,8 @@ public class GeckoSoftwareLayerClient extends LayerClient {
*/ */
public void endDrawing(int x, int y, int width, int height) { public void endDrawing(int x, int y, int width, int height) {
LayerController controller = getLayerController(); LayerController controller = getLayerController();
if (controller == null)
return;
//controller.unzoom(); /* FIXME */ //controller.unzoom(); /* FIXME */
controller.notifyViewOfGeometryChange(); controller.notifyViewOfGeometryChange();