Bug 1606680 - Remove remaining internal uses of mTabContainer. r=frg
authorIan Neal <iann_cvs@blueyonder.co.uk>
Thu, 06 Feb 2020 02:45:10 +0100
changeset 38072 d56158f2a5925c00acbb3b0e84ec71b6747c9392
parent 38071 fa0098e6b23f110a2d74b93745321ebcbeb85fbc
child 38073 000158b2aa701f94ae4b73ff88855a7d1d737237
push id398
push userclokep@gmail.com
push dateMon, 09 Mar 2020 19:10:28 +0000
reviewersfrg
bugs1606680
Bug 1606680 - Remove remaining internal uses of mTabContainer. r=frg
suite/browser/tabbrowser.xml
--- a/suite/browser/tabbrowser.xml
+++ b/suite/browser/tabbrowser.xml
@@ -2283,19 +2283,19 @@
             aEvent.preventDefault();
             aEvent.stopPropagation();
 
             var ib = document.getAnonymousElementByAttribute(this, "class", "tab-drop-indicator-bar");
 
             // autoscroll the tab strip if we drag over the scroll buttons,
             // even if we aren't dragging a tab
             var pixelsToScroll = 0;
-            var tabStrip = this.mTabContainer.arrowScrollbox;
+            var tabStrip = this.tabContainer.arrowScrollbox;
             var ltr = window.getComputedStyle(this, null).direction == "ltr";
-            if (this.mTabContainer.getAttribute("overflow") == "true") {
+            if (this.tabContainer.getAttribute("overflow") == "true") {
               var targetAnonid = aEvent.originalTarget.getAttribute("anonid");
               switch (targetAnonid) {
                 case "scrollbutton-up":
                   pixelsToScroll = -tabStrip.scrollIncrement;
                   break;
                 case "scrollbutton-down":
                 case "alltabs-button":
                   pixelsToScroll = tabStrip.scrollIncrement;