Bug 1509227 - Cache selection state with RDL. r=miko
authorMatt Woodrow <mwoodrow@mozilla.com>
Sun, 25 Nov 2018 22:58:14 +0000
changeset 504380 c65a0f1862dd7cbd485b9ea44618155b85156486
parent 504379 d6509279d52e5c1a9b2951b88f23a989470ff195
child 504381 6ee93495fe0c47bdad591490f9a4439cbcb09be5
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmiko
bugs1509227
milestone65.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 1509227 - Cache selection state with RDL. r=miko MozReview-Commit-ID: CmMDBlYzHyN Differential Revision: https://phabricator.services.mozilla.com/D12722
layout/painting/nsDisplayList.h
--- a/layout/painting/nsDisplayList.h
+++ b/layout/painting/nsDisplayList.h
@@ -7707,17 +7707,16 @@ public:
     , mVisIStartEdge(0)
     , mVisIEndEdge(0)
   {
   }
 
   void RestoreState() override
   {
     nsDisplayItem::RestoreState();
-    mIsFrameSelected.reset();
   }
 
   nsDisplayItemGeometry* AllocateGeometry(
     nsDisplayListBuilder* aBuilder) override;
 
   void ComputeInvalidationRegion(nsDisplayListBuilder* aBuilder,
                                  const nsDisplayItemGeometry* aGeometry,
                                  nsRegion* aInvalidRegion) const override;