Bug 1509227 - Cache selection state with RDL. r=miko
authorMatt Woodrow <mwoodrow@mozilla.com>
Sun, 25 Nov 2018 22:58:14 +0000
changeset 507160 c65a0f1862dd7cbd485b9ea44618155b85156486
parent 507159 d6509279d52e5c1a9b2951b88f23a989470ff195
child 507161 6ee93495fe0c47bdad591490f9a4439cbcb09be5
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [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;