mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
Bug 1288210 - Fixed a bug in how the ancestor transform is computed in AlignFixedAndStickyLayers. r=mstange
MozReview-Commit-ID: 8TL7PNpYv6R --HG-- extra : rebase_source : 9f86bef66ca93e729c6c5a6f0e75d590bce03366
This commit is contained in:
parent
16c6388fe9
commit
6e45cf5c96
@ -458,8 +458,10 @@ AsyncCompositionManager::AlignFixedAndStickyLayers(Layer* aTransformedSubtreeRoo
|
||||
|
||||
// Accumulate the transforms between this layer and the subtree root layer.
|
||||
Matrix4x4 ancestorTransform;
|
||||
AccumulateLayerTransforms(layer->GetParent(), aTransformedSubtreeRoot,
|
||||
ancestorTransform);
|
||||
if (layer != aTransformedSubtreeRoot) {
|
||||
AccumulateLayerTransforms(layer->GetParent(), aTransformedSubtreeRoot,
|
||||
ancestorTransform);
|
||||
}
|
||||
|
||||
// Calculate the cumulative transforms between the subtree root with the
|
||||
// old transform and the current transform.
|
||||
|
Loading…
Reference in New Issue
Block a user