Backed out 1 changesets (bug 1207420) for mulet reftest failures
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Mon, 28 Sep 2015 12:13:25 +0200
changeset 264635 ffe864d77b17f6a0e020583df6e7006e6adf0f4a
parent 264634 a62c1724002ac93abb2bc9fe967f549f35bca770
child 264636 abcc2798634a2e12a91845c7b317fc0854de15a0
push id65703
push usercbook@mozilla.com
push dateMon, 28 Sep 2015 10:13:34 +0000
treeherdermozilla-inbound@ffe864d77b17 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1207420
milestone44.0a1
backs out160c4484f0a26d67bbfdbc15c86ed180cadb47ad
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out 1 changesets (bug 1207420) for mulet reftest failures Backed out changeset 160c4484f0a2 (bug 1207420)
layout/base/nsDisplayList.h
--- a/layout/base/nsDisplayList.h
+++ b/layout/base/nsDisplayList.h
@@ -3584,38 +3584,30 @@ class nsDisplayTransform: public nsDispl
 
   /*
    * Avoid doing UpdateBounds() during construction.
    */
   class StoreList : public nsDisplayWrapList {
   public:
     StoreList(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
               nsDisplayList* aList) :
-      nsDisplayWrapList(aBuilder, aFrame, aList),
-      mHasBounds(false) {}
+      nsDisplayWrapList(aBuilder, aFrame, aList) {}
     StoreList(nsDisplayListBuilder* aBuilder, nsIFrame* aFrame,
               nsDisplayItem* aItem) :
-      nsDisplayWrapList(aBuilder, aFrame, aItem),
-      mHasBounds(false) {}
+      nsDisplayWrapList(aBuilder, aFrame, aItem) {}
     virtual ~StoreList() {}
 
     virtual void UpdateBounds(nsDisplayListBuilder* aBuilder) override {}
     virtual nsRect GetBounds(nsDisplayListBuilder* aBuilder,
                              bool* aSnap) override {
-      if (!mHasBounds) {
-        // The bounds should not be computed until now, because we don't
-        // get accmulated transform before.
-        nsDisplayWrapList::UpdateBounds(aBuilder);
-        mHasBounds = true;
-      }
+      // The bounds should not be computed until now, because we don't
+      // get accmulated transform before.
+      nsDisplayWrapList::UpdateBounds(aBuilder);
       return nsDisplayWrapList::GetBounds(aBuilder, aSnap);
     }
-
-  private:
-    bool mHasBounds;
   };
 
 public:
   /**
    * Returns a matrix (in pixels) for the current frame. The matrix should be relative to
    * the current frame's coordinate space.
    *
    * @param aFrame The frame to compute the transform for.