зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1501342 - In ProcessDisplayItems(), handle the case where scrollMetadataASR and mContainerScrollMetadataASR are in different branches of the ASR tree. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D13346 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
edbb48ab90
Коммит
5aba9815a4
|
@ -5145,8 +5145,10 @@ ContainerState::ProcessDisplayItems(nsDisplayList* aList)
|
|||
ContainerLayerParameters params = mParameters;
|
||||
params.mBackgroundColor = uniformColor;
|
||||
params.mLayerCreationHint = GetLayerCreationHint(itemAGR);
|
||||
params.mScrollMetadataASR = ActiveScrolledRoot::PickDescendant(
|
||||
mContainerScrollMetadataASR, scrollMetadataASR);
|
||||
params.mScrollMetadataASR =
|
||||
ActiveScrolledRoot::IsAncestor(scrollMetadataASR, mContainerScrollMetadataASR)
|
||||
? mContainerScrollMetadataASR
|
||||
: scrollMetadataASR;
|
||||
params.mCompositorASR =
|
||||
params.mScrollMetadataASR != mContainerScrollMetadataASR
|
||||
? params.mScrollMetadataASR
|
||||
|
|
Загрузка…
Ссылка в новой задаче