зеркало из https://github.com/mozilla/gecko-dev.git
Bug 981508 - Fix comment in nsDisplayTransform::ShouldPrerenderTransformedContent; r=roc
This commit is contained in:
Родитель
843cf9276a
Коммит
fc51a00f13
|
@ -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(),
|
||||
|
|
Загрузка…
Ссылка в новой задаче