зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1073336 part 13 - Add AnimationPlayer::PostUpdate; r=dbaron
Adds a method for notifying the collection of changes to one of its players.
This commit is contained in:
Родитель
d855c6692f
Коммит
49dee50d8c
|
@ -236,6 +236,15 @@ AnimationPlayer::MaybePostRestyle() const
|
|||
nsChangeHint_AllReflowHints);
|
||||
}
|
||||
|
||||
void
|
||||
AnimationPlayer::PostUpdate()
|
||||
{
|
||||
AnimationPlayerCollection* collection = GetCollection();
|
||||
if (collection) {
|
||||
collection->NotifyPlayerUpdated();
|
||||
}
|
||||
}
|
||||
|
||||
StickyTimeDuration
|
||||
AnimationPlayer::SourceContentEnd() const
|
||||
{
|
||||
|
|
|
@ -128,6 +128,7 @@ public:
|
|||
protected:
|
||||
void FlushStyle() const;
|
||||
void MaybePostRestyle() const;
|
||||
void PostUpdate();
|
||||
StickyTimeDuration SourceContentEnd() const;
|
||||
|
||||
nsIDocument* GetRenderedDocument() const;
|
||||
|
|
Загрузка…
Ссылка в новой задаче