Bug 790508: SampleAnimations should walk the layer tree from the root instead of from the primary scrollable layer r=cjones

This commit is contained in:
David Zbarsky 2012-10-01 02:13:49 -04:00
Родитель 2a50397f57
Коммит bc8f19ace4
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -758,7 +758,7 @@ CompositorParent::TransformShadowTree(TimeStamp aCurrentFrame)
// NB: we must sample animations *before* sampling pan/zoom
// transforms.
wantNextFrame |= SampleAnimations(layer, mLastCompose);
wantNextFrame |= SampleAnimations(root, mLastCompose);
const FrameMetrics& metrics = container->GetFrameMetrics();
// We must apply the resolution scale before a pan/zoom transform, so we call