From e950d56879e19afe91f714003f5f51aed8d2c9e4 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Thu, 19 Nov 2015 18:33:07 +0900 Subject: [PATCH] Use better method name --- modules/browser.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/browser.js b/modules/browser.js index 41f25d2c..ef2db2d7 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -1605,7 +1605,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { delayedPostProcess(this, b, splitter, toggler); this.updateTabbarOverflow(); this.updateAllTabsButton(b); - this.updateAllTabsCount(); + this.updateAllTabsAsParent(); delayedPostProcess = null; this.mTabBrowser.style.visibility = ''; @@ -2780,7 +2780,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { clearTimeout(this.timers[aPrefName]); this.timers[aPrefName] = setTimeout((function() { try { - this.updateAllTabsCount(); + this.updateAllTabsAsParent(); } catch(e) { this.defaultErrorHandler(e); @@ -2795,7 +2795,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { clearTimeout(this.timers[aPrefName]); this.timers[aPrefName] = setTimeout((function() { try { - this.updateAllTabsCount(); + this.updateAllTabsAsParent(); } catch(e) { this.defaultErrorHandler(e); @@ -5968,7 +5968,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { aTab.removeAttribute('soundplaying', true); }, - updateAllTabsCount : function TSTBrowser_updateAllTabsCount() + updateAllTabsAsParent : function TSTBrowser_updateAllTabsAsParent() { var tabs = this.rootTabs; for (let i = 0, maxi = tabs.length; i < maxi; i++)