Bug 783521 - Fix busted function override. r=mfinkle
authorKartikaya Gupta <kgupta@mozilla.com>
Tue, 27 Nov 2012 15:18:01 -0500
changeset 114262 498909bdf43fc149e50e829c3ce8960628b705d8
parent 114261 ed22fe593f97d602594a2af98b94574fa8d54c81
child 114263 8151e40d325e62a51d627231543fcd198ac2418b
push id23913
push useremorley@mozilla.com
push dateWed, 28 Nov 2012 17:11:31 +0000
treeherdermozilla-central@17c267a881cf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs783521
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 783521 - Fix busted function override. r=mfinkle
mobile/android/base/BrowserApp.java
mobile/android/base/GeckoApp.java
--- a/mobile/android/base/BrowserApp.java
+++ b/mobile/android/base/BrowserApp.java
@@ -278,16 +278,17 @@ abstract public class BrowserApp extends
             }
         } else {
             int flags = Tabs.LOADURL_NEW_TAB | Tabs.LOADURL_USER_ENTERED;
             Tabs.getInstance().loadUrl(uri, flags);
             mAboutHomeStartupTimer.cancel();
         }
     }
 
+    @Override
     void toggleChrome(final boolean aShow) {
         mMainHandler.post(new Runnable() {
             public void run() {
                 if (aShow) {
                     mBrowserToolbar.show();
                 } else {
                     mBrowserToolbar.hide();
                 }
--- a/mobile/android/base/GeckoApp.java
+++ b/mobile/android/base/GeckoApp.java
@@ -221,17 +221,17 @@ abstract public class GeckoApp
         synchronized(sLaunchState) {
             if (sLaunchState != checkState)
                 return false;
             sLaunchState = setState;
             return true;
         }
     }
 
-    void toggleChrome(final Boolean aShow) { }
+    void toggleChrome(final boolean aShow) { }
 
     void focusChrome() { }
 
     public void onTabChanged(Tab tab, Tabs.TabEvents msg, Object data) {
         // When a tab is closed, it is always unselected first.
         // When a tab is unselected, another tab is always selected first.
         switch(msg) {
             case UNSELECTED: