зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
2a50397f57
Коммит
bc8f19ace4
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче