Bug 687468 - Chain tabHeight assignment for simplicity (r=mbrubeck)
authorLucas Rocha <lucasr@mozilla.com>
Mon, 19 Sep 2011 15:59:23 -0700
changeset 77165 5629b31668efef405f7535237bc30948fc2c3975
parent 77164 898c71dcfe7c4fbfa43e7e688d02a34de6240857
child 77166 fc81b89dc4acc5435d74260931433950e3a678ca
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersmbrubeck
bugs687468
milestone9.0a1
Bug 687468 - Chain tabHeight assignment for simplicity (r=mbrubeck)
mobile/chrome/content/tabs.xml
--- a/mobile/chrome/content/tabs.xml
+++ b/mobile/chrome/content/tabs.xml
@@ -50,18 +50,17 @@
             }
 
             if (tabWidth != thumbnail.width) {
               let reload = this._reload;
               let closeContainer = this._closeContainer;
               let title = this._title;
 
               thumbnail.width = reload.width = title.width = tabWidth;
-              thumbnail.height = reload.height = tabHeight;
-              closeContainer.height = tabHeight;
+              thumbnail.height = reload.height = closeContainer.height = tabHeight;
             }
           ]]>
         </body>
       </method>
 
       <method name="_onClick">
         <body>
           <![CDATA[