Bug 1385923 - Only include the animatable-box for the overflow button in builds that support the animation. r?gijs draft
authorJared Wein <jwein@mozilla.com>
Mon, 31 Jul 2017 11:23:19 -0400
changeset 618477 2a4a6302d80c24188f0d6f684393db264540363d
parent 617134 a4afa89bfdd10a903cfa9aa5a5bd1624dc85548c
child 640085 c383f12a0d2ada10c0454290a3504360bd76fbf5
push id71350
push userbmo:jaws@mozilla.com
push dateMon, 31 Jul 2017 15:23:39 +0000
reviewersgijs
bugs1385923
milestone56.0a1
Bug 1385923 - Only include the animatable-box for the overflow button in builds that support the animation. r?gijs MozReview-Commit-ID: 8tlFbIm7Nwp
browser/base/content/browser.xul
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -1087,19 +1087,21 @@
                        cui-areatype="toolbar"
                        aboutHomeOverrideTooltip="&abouthome.pageTitle;"/>
       </hbox>
 
       <toolbarbutton id="nav-bar-overflow-button"
                      class="toolbarbutton-1 chromeclass-toolbar-additional overflow-button"
                      skipintoolbarset="true"
                      tooltiptext="&navbarOverflow.label;">
+#ifdef MOZ_PHOTON_ANIMATIONS
         <box class="toolbarbutton-animatable-box">
           <image class="toolbarbutton-animatable-image"/>
         </box>
+#endif
       </toolbarbutton>
 
       <toolbaritem id="PanelUI-button"
                    class="chromeclass-toolbar-additional"
                    removable="false">
         <toolbarbutton id="PanelUI-menu-button"
                        class="toolbarbutton-1 badged-button"
                        consumeanchor="PanelUI-button"