Bug 759568 - Part 6. Remove unused nsDisplayList::mVisibleRect; draft
authorCJKu <cku@mozilla.com>
Tue, 12 Apr 2016 00:19:46 +0800
changeset 349452 9b22e1e870ccd33630ec0d8d9130772d204664eb
parent 349451 62d7d64fecf498107886fdab7d854a3267109b77
child 518101 a08b53bbfbde0c6e1fccfb647d2570c4b582d907
push id15089
push usercku@mozilla.com
push dateMon, 11 Apr 2016 16:21:20 +0000
bugs759568
milestone48.0a1
Bug 759568 - Part 6. Remove unused nsDisplayList::mVisibleRect; MozReview-Commit-ID: ItlbQbmTj86
layout/base/nsDisplayList.h
--- a/layout/base/nsDisplayList.h
+++ b/layout/base/nsDisplayList.h
@@ -2181,18 +2181,16 @@ public:
 private:
   // This class is only used on stack, so we don't have to worry about leaking
   // it.  Don't let us be heap-allocated!
   void* operator new(size_t sz) CPP_THROW_NEW;
   
   nsDisplayItemLink  mSentinel;
   nsDisplayItemLink* mTop;
 
-  // This is set by ComputeVisibility
-  nsRect mVisibleRect;
   // This is set to true by FrameLayerBuilder if the final visible region
   // is empty (i.e. everything that was visible is covered by some
   // opaque content in this list).
   bool mIsOpaque;
   // This is set to true by FrameLayerBuilder if any display item in this
   // list needs to force the surface containing this list to be transparent.
   bool mForceTransparentSurface;
 };