Chromium Code Reviews
DescriptionUpdate property trees' bounds delta before updating viewport container sizes.
Property trees store the bounds delta, caused by showing and hiding top
controls, separately from per-node data. This means that after a pending tree is
activated, these values need to be filled in from the LayerImpls. This was
previously happening after the call to UpdateViewportContainerSizes. This caused
a problem since UpdateViewportContainerSizes would indirectly clamp the layers
scroll offsets using LayerImpl::MaxScrollOffset, which gets the bounds_delta
from the property tree. This meant the bounds_delta would return a value of 0,
causing incorrect clamping.
BUG=597266
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/7ad75edb50ed225455b994f4e310d6db86205aa2
Cr-Commit-Position: refs/heads/master@{#384054}
Patch Set 1 #Patch Set 2 : Moved UpdateViewportContainerSizes instead #
Messages
Total messages: 17 (6 generated)
|
||||||||||||||||||||||||||||