Bug 981508 - Fix comment in nsDisplayTransform::ShouldPrerenderTransformedContent; r=roc

This commit is contained in:
Brian Birtles 2014-03-22 05:59:58 +08:00
Родитель 843cf9276a
Коммит fc51a00f13
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -4632,7 +4632,7 @@ nsDisplayTransform::ShouldPrerenderTransformedContent(nsDisplayListBuilder* aBui
// Elements whose transform has been modified recently, or which
// have a compositor-animated transform, can be prerendered. An element
// might have only just had its transform animated in which case
// nsChangeHint_UpdateTransformLayer will not be present yet.
// the ActiveLayerManager may not have been notified yet.
if (!ActiveLayerTracker::IsStyleAnimated(aFrame, eCSSProperty_transform) &&
(!aFrame->GetContent() ||
!nsLayoutUtils::HasAnimationsForCompositor(aFrame->GetContent(),