DescriptionMake LayerTreeImpl::ScrollableArea more robust
If the first child of the root scroll layer is not drawn for some reason, its bounds are (correctly) no longer updated due to https://codereview.chromium.org/13939005. The problem is that we currently depend on these bounds to calculate the scrollable area.
In an ideal world, we'd check the bounds of the root scroll layer itself. There was a Blink bug that was giving us (0, 0) bounds for this layer occasionally, so we switched the code to check the bounds of the first child. This patch makes that workaround a bit more robust, but really, we should fix the Blink bug.
R=enne,aelias
BUG=None
Patch Set 1 #Patch Set 2 : Now with a test. #
Messages
Total messages: 6 (0 generated)
|