Bug 866466/867141 - Don't nullify mPanel reference when closing tabs panel (r=mfinkle)
authorLucas Rocha <lucasr@mozilla.com>
Wed, 01 May 2013 17:32:02 +0100
changeset 141434 4ee7589adadd227ae7ff8a56d4a2a2a21cb9218b
parent 141433 eeabfd7af89a701fef27955be6b119f7ed4a263c
child 141435 8f963e16ca906c59dc1b389f5820fce6dccd43bf
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs866466, 867141
milestone23.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 866466/867141 - Don't nullify mPanel reference when closing tabs panel (r=mfinkle)
mobile/android/base/TabsPanel.java
--- a/mobile/android/base/TabsPanel.java
+++ b/mobile/android/base/TabsPanel.java
@@ -328,17 +328,16 @@ public class TabsPanel extends LinearLay
             }
         }
     }
 
     public void hide() {
         if (mVisible) {
             mVisible = false;
             dispatchLayoutChange(0, 0);
-            mPanel = null;
         }
     }
 
     public void refresh() {
         removeAllViews();
 
         LayoutInflater.from(mContext).inflate(R.layout.tabs_panel, this);
         initialize();