зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1527516 - Recompute mIsScrollableLayerInRootContainer correctly if containerless scrolling is disabled during the scroll frame's lifetime. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D19603 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b2994ac538
Коммит
e9f4927939
|
@ -3893,10 +3893,9 @@ bool ScrollFrameHelper::DecideScrollableLayer(
|
|||
aBuilder->RecomputeCurrentAnimatedGeometryRoot();
|
||||
}
|
||||
|
||||
if (gfxPrefs::LayoutUseContainersForRootFrames() &&
|
||||
mWillBuildScrollableLayer && mIsRoot) {
|
||||
mIsScrollableLayerInRootContainer = true;
|
||||
}
|
||||
mIsScrollableLayerInRootContainer =
|
||||
gfxPrefs::LayoutUseContainersForRootFrames() &&
|
||||
mWillBuildScrollableLayer && mIsRoot;
|
||||
return mWillBuildScrollableLayer;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче