Bug 820022 - Add null check for layerView. r=margaret

This commit is contained in:
Wes Johnston 2013-04-01 17:36:04 -07:00
parent 0128a15263
commit 359250f12b

View File

@ -2335,7 +2335,7 @@ abstract public class GeckoApp
return;
}
if (mLayerView.isFullScreen()) {
if (mLayerView != null && mLayerView.isFullScreen()) {
GeckoAppShell.sendEventToGecko(GeckoEvent.createBroadcastEvent("FullScreen:Exit", null));
return;
}