Bug 1289407 - initialise |mForceNotVisible| in explicit ctor. r=tnikkel
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Tue, 26 Jul 2016 16:07:04 +0300
changeset 348805 1d4ebd027c42b277b234069c43296c74c8eb0f2c
parent 348804 a5eb9b47ea45aa1fbde63e49a5aa75ba207ebc67
child 348806 9baa784f40f48fca3ffa262c7dfe3b1710f70442
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstnikkel
bugs1289407
milestone50.0a1
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
Bug 1289407 - initialise |mForceNotVisible| in explicit ctor. r=tnikkel MozReview-Commit-ID: AUvZBGk6j1L
layout/base/nsDisplayList.h
--- a/layout/base/nsDisplayList.h
+++ b/layout/base/nsDisplayList.h
@@ -1346,16 +1346,17 @@ public:
    * temporary items.
    */
   explicit nsDisplayItem(nsIFrame* aFrame)
     : mFrame(aFrame)
     , mClip(nullptr)
     , mScrollClip(nullptr)
     , mReferenceFrame(nullptr)
     , mAnimatedGeometryRoot(nullptr)
+    , mForceNotVisible(false)
 #ifdef MOZ_DUMP_PAINTING
     , mPainted(false)
 #endif
   {
   }
   virtual ~nsDisplayItem() {}
 
   void* operator new(size_t aSize,