Bug 778247: mAppContext cleanup: Tabs can avoid it. [r=mbrubeck]

This commit is contained in:
Sriram Ramasubramanian
2012-07-27 23:31:54 -07:00
parent abdd4cc97d
commit ce8338bdf4
3 changed files with 35 additions and 27 deletions

View File

@@ -73,8 +73,8 @@ public class LayerView extends SurfaceView implements SurfaceHolder.Callback {
requestFocus();
/** We need to manually hide FormAssistPopup because it is not a regular PopupWindow. */
if (GeckoApp.mAppContext != null && GeckoApp.mAppContext.mFormAssistPopup != null)
GeckoApp.mAppContext.mFormAssistPopup.hide();
if (GeckoApp.mAppContext != null)
GeckoApp.mAppContext.hideFormAssistPopup();
return mTouchEventHandler.handleEvent(event);
}