Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Issue 14221010: Make LayerTreeImpl::ScrollableArea more robust (Closed)

Created:
7 years, 8 months ago by Ian Vollick
Modified:
7 years, 3 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Make 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -2 lines) Patch
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 2 chunks +41 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ian Vollick
7 years, 8 months ago (2013-04-20 02:01:45 UTC) #1
Ian Vollick
+aelias I've added a unit test. I think that this CL is ready to go, ...
7 years, 8 months ago (2013-04-20 03:10:08 UTC) #2
aelias_OOO_until_Jul13
This says BUG=None but I presume this is solving a bug, what is it? And ...
7 years, 8 months ago (2013-04-20 05:03:07 UTC) #3
enne (OOO)
If possible, I'd really just prefer to fix this in Blink.
7 years, 8 months ago (2013-04-22 17:14:40 UTC) #4
enne (OOO)
Ping?
7 years, 6 months ago (2013-05-28 18:47:44 UTC) #5
aelias_OOO_until_Jul13
7 years, 3 months ago (2013-09-09 22:41:33 UTC) #6
Closing this patch to clean up my review queue.

Powered by Google App Engine
This is Rietveld 408576698