Bug 1405699 - Make the nsDisplayOwnLayer copy constructor copy the member mWrAnimationId. r=mattwoodrow
authorJonathan Watt <jwatt@jwatt.org>
Wed, 20 Sep 2017 16:01:33 +0100
changeset 384680 3ee8db7884ee7d63fab05cf538f660051b52e738
parent 384679 a6e733448dec3b1fb8541baadc02d3e79432d326
child 384681 df08c7645b1a855e6c68b30387f34cd680bb28c0
push id95818
push userjwatt@jwatt.org
push dateThu, 05 Oct 2017 10:01:36 +0000
treeherdermozilla-inbound@3ee8db7884ee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs1405699
milestone58.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 1405699 - Make the nsDisplayOwnLayer copy constructor copy the member mWrAnimationId. r=mattwoodrow MozReview-Commit-ID: EF7EVnDPSqi
layout/painting/nsDisplayList.h
--- a/layout/painting/nsDisplayList.h
+++ b/layout/painting/nsDisplayList.h
@@ -4421,16 +4421,17 @@ public:
   virtual ~nsDisplayOwnLayer();
 #endif
   nsDisplayOwnLayer(const nsDisplayOwnLayer& aOther)
     : nsDisplayWrapList(aOther)
     , mFlags(aOther.mFlags)
     , mScrollTarget(aOther.mFlags)
     , mThumbData(aOther.mThumbData)
     , mForceActive(aOther.mForceActive)
+    , mWrAnimationId(aOther.mWrAnimationId)
   {
     MOZ_COUNT_CTOR(nsDisplayOwnLayer);
   }
 
   virtual bool ShouldBuildLayerEvenIfInvisible(nsDisplayListBuilder* aBuilder) const override;
   virtual already_AddRefed<Layer> BuildLayer(nsDisplayListBuilder* aBuilder,
                                              LayerManager* aManager,
                                              const ContainerLayerParameters& aContainerParameters) override;