зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1504884 - Drop AnimationInfo::mLayerManager. r=birtles
It's not used at all. Differential Revision: https://phabricator.services.mozilla.com/D11105 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2ce555aca7
Коммит
051215da7b
|
@ -12,8 +12,7 @@
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace layers {
|
namespace layers {
|
||||||
|
|
||||||
AnimationInfo::AnimationInfo(LayerManager* aManager) :
|
AnimationInfo::AnimationInfo() :
|
||||||
mManager(aManager),
|
|
||||||
mCompositorAnimationsId(0),
|
mCompositorAnimationsId(0),
|
||||||
mAnimationGeneration(0),
|
mAnimationGeneration(0),
|
||||||
mMutated(false)
|
mMutated(false)
|
||||||
|
|
|
@ -22,12 +22,12 @@ class Layer;
|
||||||
class LayerManager;
|
class LayerManager;
|
||||||
struct AnimData;
|
struct AnimData;
|
||||||
|
|
||||||
class AnimationInfo
|
class AnimationInfo final
|
||||||
{
|
{
|
||||||
typedef InfallibleTArray<Animation> AnimationArray;
|
typedef InfallibleTArray<Animation> AnimationArray;
|
||||||
public:
|
public:
|
||||||
explicit AnimationInfo(LayerManager* aManager);
|
AnimationInfo();
|
||||||
virtual ~AnimationInfo();
|
~AnimationInfo();
|
||||||
|
|
||||||
// Ensure that this AnimationInfo has a valid (non-zero) animations id. This value is
|
// Ensure that this AnimationInfo has a valid (non-zero) animations id. This value is
|
||||||
// unique across layers.
|
// unique across layers.
|
||||||
|
@ -70,7 +70,6 @@ public:
|
||||||
DisplayItemType aDisplayItemKey);
|
DisplayItemType aDisplayItemKey);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
LayerManager* mManager;
|
|
||||||
AnimationArray mAnimations;
|
AnimationArray mAnimations;
|
||||||
uint64_t mCompositorAnimationsId;
|
uint64_t mCompositorAnimationsId;
|
||||||
nsAutoPtr<AnimationArray> mPendingAnimations;
|
nsAutoPtr<AnimationArray> mPendingAnimations;
|
||||||
|
|
|
@ -189,7 +189,6 @@ Layer::Layer(LayerManager* aManager, void* aImplData)
|
||||||
, mNextSibling(nullptr)
|
, mNextSibling(nullptr)
|
||||||
, mPrevSibling(nullptr)
|
, mPrevSibling(nullptr)
|
||||||
, mImplData(aImplData)
|
, mImplData(aImplData)
|
||||||
, mAnimationInfo(aManager)
|
|
||||||
, mUseTileSourceRect(false)
|
, mUseTileSourceRect(false)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
, mDebugColorIndex(0)
|
, mDebugColorIndex(0)
|
||||||
|
|
|
@ -321,7 +321,6 @@ WebRenderFallbackData::SetGeometry(nsAutoPtr<nsDisplayItemGeometry> aGeometry)
|
||||||
|
|
||||||
WebRenderAnimationData::WebRenderAnimationData(WebRenderLayerManager* aWRManager, nsDisplayItem* aItem)
|
WebRenderAnimationData::WebRenderAnimationData(WebRenderLayerManager* aWRManager, nsDisplayItem* aItem)
|
||||||
: WebRenderUserData(aWRManager, aItem)
|
: WebRenderUserData(aWRManager, aItem)
|
||||||
, mAnimationInfo(aWRManager)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче