Bug 764622: BrowserApp doesn't need to check START and STOP tab states. [r=wesj]
authorSriram Ramasubramanian <sriram@mozilla.com>
Thu, 14 Jun 2012 12:12:18 -0700
changeset 96760 9bf21ba748d488d40869cd6de3510deff9d02226
parent 96759 69367ce1b01d0186a7073f4b6d70b03e072b7ed5
child 96761 5f477076100c13c6297b143dc185700c53402c63
push id853
push usertim.taubert@gmx.de
push dateSat, 16 Jun 2012 10:37:54 +0000
treeherderfx-team@4a457dd9d433 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswesj
bugs764622
milestone16.0a1
Bug 764622: BrowserApp doesn't need to check START and STOP tab states. [r=wesj]
mobile/android/base/BrowserApp.java
--- a/mobile/android/base/BrowserApp.java
+++ b/mobile/android/base/BrowserApp.java
@@ -79,25 +79,16 @@ abstract public class BrowserApp extends
                     String url = tab.getURL();
                     if (url.equals("about:home"))
                         showAboutHome();
                     else 
                         hideAboutHome();
                     maybeCancelFaviconLoad(tab);
                 }
                 break;
-            case START:
-                if (Tabs.getInstance().isSelectedTab(tab)) {
-                    invalidateOptionsMenu();
-                }
-            case STOP:
-                if (Tabs.getInstance().isSelectedTab(tab)) {
-                    invalidateOptionsMenu();
-                }
-                break;
             case SELECTED:
                 if ("about:home".equals(tab.getURL()))
                     showAboutHome();
                 else
                     hideAboutHome();
                 break;
         }
         super.onTabChanged(tab, msg, data);