Merge backout of 777fbc99f40b and 27e4b9cbed74 due to leak bustage

This commit is contained in:
Mark Hammond 2012-07-16 15:01:28 +10:00
commit 8333c78108

View File

@ -101,7 +101,8 @@ public class Tabs implements GeckoEventListener {
mSelectedTab = tab;
GeckoApp.mAppContext.mMainHandler.post(new Runnable() {
public void run() {
GeckoApp.mAppContext.mFormAssistPopup.hide();
if (GeckoApp.mAppContext.mFormAssistPopup != null)
GeckoApp.mAppContext.mFormAssistPopup.hide();
if (isSelectedTab(tab)) {
String url = tab.getURL();
notifyListeners(tab, TabEvents.SELECTED);