зеркало из 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 layers {
|
||||
|
||||
AnimationInfo::AnimationInfo(LayerManager* aManager) :
|
||||
mManager(aManager),
|
||||
AnimationInfo::AnimationInfo() :
|
||||
mCompositorAnimationsId(0),
|
||||
mAnimationGeneration(0),
|
||||
mMutated(false)
|
||||
|
|
|
@ -22,12 +22,12 @@ class Layer;
|
|||
class LayerManager;
|
||||
struct AnimData;
|
||||
|
||||
class AnimationInfo
|
||||
class AnimationInfo final
|
||||
{
|
||||
typedef InfallibleTArray<Animation> AnimationArray;
|
||||
public:
|
||||
explicit AnimationInfo(LayerManager* aManager);
|
||||
virtual ~AnimationInfo();
|
||||
AnimationInfo();
|
||||
~AnimationInfo();
|
||||
|
||||
// Ensure that this AnimationInfo has a valid (non-zero) animations id. This value is
|
||||
// unique across layers.
|
||||
|
@ -70,7 +70,6 @@ public:
|
|||
DisplayItemType aDisplayItemKey);
|
||||
|
||||
protected:
|
||||
LayerManager* mManager;
|
||||
AnimationArray mAnimations;
|
||||
uint64_t mCompositorAnimationsId;
|
||||
nsAutoPtr<AnimationArray> mPendingAnimations;
|
||||
|
|
|
@ -189,7 +189,6 @@ Layer::Layer(LayerManager* aManager, void* aImplData)
|
|||
, mNextSibling(nullptr)
|
||||
, mPrevSibling(nullptr)
|
||||
, mImplData(aImplData)
|
||||
, mAnimationInfo(aManager)
|
||||
, mUseTileSourceRect(false)
|
||||
#ifdef DEBUG
|
||||
, mDebugColorIndex(0)
|
||||
|
|
|
@ -321,7 +321,6 @@ WebRenderFallbackData::SetGeometry(nsAutoPtr<nsDisplayItemGeometry> aGeometry)
|
|||
|
||||
WebRenderAnimationData::WebRenderAnimationData(WebRenderLayerManager* aWRManager, nsDisplayItem* aItem)
|
||||
: WebRenderUserData(aWRManager, aItem)
|
||||
, mAnimationInfo(aWRManager)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче