Make assertion about timestamps in nsAnimationManager::GetAnimationRule non-fatal (bug 652976). r=bzbarsky

This commit is contained in:
L. David Baron 2011-06-15 12:33:36 -07:00
Родитель 66c70413dc
Коммит f68f180a9b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -834,9 +834,9 @@ nsAnimationManager::GetAnimationRule(mozilla::dom::Element* aElement,
return nsnull;
}
NS_ABORT_IF_FALSE(ea->mStyleRuleRefreshTime ==
mPresContext->RefreshDriver()->MostRecentRefresh(),
"should already have refreshed style rule");
NS_WARN_IF_FALSE(ea->mStyleRuleRefreshTime ==
mPresContext->RefreshDriver()->MostRecentRefresh(),
"should already have refreshed style rule");
if (mPresContext->IsProcessingRestyles() &&
!mPresContext->IsProcessingAnimationStyleChange()) {