зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1073336 part 5 - Add AnimationPlayerCollection::PlayerUpdated; r=dbaron
This commit is contained in:
Родитель
e8b261ac02
Коммит
371d30ed6a
|
@ -483,6 +483,16 @@ AnimationPlayerCollection::GetElementToRestyle() const
|
|||
return pseudoFrame->GetContent()->AsElement();
|
||||
}
|
||||
|
||||
void
|
||||
AnimationPlayerCollection::NotifyPlayerUpdated()
|
||||
{
|
||||
// On the next flush, force us to update the style rule
|
||||
mNeedsRefreshes = true;
|
||||
mStyleRuleRefreshTime = TimeStamp();
|
||||
|
||||
mManager->NotifyCollectionUpdated(*this);
|
||||
}
|
||||
|
||||
/* static */ void
|
||||
AnimationPlayerCollection::LogAsyncAnimationFailure(nsCString& aMessage,
|
||||
const nsIContent* aContent)
|
||||
|
|
|
@ -278,6 +278,8 @@ struct AnimationPlayerCollection : public PRCList
|
|||
}
|
||||
}
|
||||
|
||||
void NotifyPlayerUpdated();
|
||||
|
||||
static void LogAsyncAnimationFailure(nsCString& aMessage,
|
||||
const nsIContent* aContent = nullptr);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче