Bug 752456. (Av1) Remove commented-out 'TabView.init()'. r=neil.
authorSerge Gautherie <sgautherie.bz@free.fr>
Mon, 07 May 2012 15:22:09 +0200
changeset 10082 8651dccf5d7d29a5ce78fc1d33b1f7e5384e7e00
parent 10081 c30bddba3513ecd58be8ccd373a6b8e3410b7f84
child 10083 dbfa7c06dbfb69510eed8f043f1b26783ddd3be9
push id7674
push usersgautherie.bz@free.fr
push dateMon, 07 May 2012 13:22:43 +0000
treeherdercomm-central@8651dccf5d7d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersneil
bugs752456
Bug 752456. (Av1) Remove commented-out 'TabView.init()'. r=neil.
suite/common/src/nsSessionStore.js
--- a/suite/common/src/nsSessionStore.js
+++ b/suite/common/src/nsSessionStore.js
@@ -2411,22 +2411,16 @@ SessionStoreService.prototype = {
     }
     if (aOverwriteTabs || root._firstTabs) {
       this._windows[aWindow.__SSi]._closedTabs = winData._closedTabs || [];
     }
 
     this.restoreHistoryPrecursor(aWindow, tabs, winData.tabs,
       (aOverwriteTabs ? (parseInt(winData.selected) || 1) : 0), 0, 0);
 
-    // This will force the keypress listener that Panorama has to attach if it
-    // isn't already. This will be the case if tab view wasn't entered or there
-    // were only visible tabs when TabView.init was first called.
-    // Misak:uncomment after we actially get Panorama
-    //aWindow.TabView.init();
-
     // set smoothScroll back to the original value
     tabstrip.smoothScroll = smoothScroll;
 
     this._sendRestoreCompletedNotifications();
   },
 
   /**
    * Manage history restoration for a window