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

Issue 1841783003: Update property trees' bounds delta before updating viewport container sizes. (Closed)

Created:
4 years, 8 months ago by bokan
Modified:
4 years, 8 months ago
Reviewers:
ajuma
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -21 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 3 chunks +94 lines, -18 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
bokan
Hey Ali, ptal. I think it's ok to move this call to only happen if ...
4 years, 8 months ago (2016-03-30 01:32:39 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841783003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841783003/1
4 years, 8 months ago (2016-03-30 11:18:44 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-30 12:18:36 UTC) #7
ajuma
On 2016/03/30 01:32:39, bokan wrote: > Hey Ali, ptal. I think it's ok to move ...
4 years, 8 months ago (2016-03-30 14:21:24 UTC) #8
bokan
On 2016/03/30 14:21:24, ajuma wrote: > On 2016/03/30 01:32:39, bokan wrote: > > Hey Ali, ...
4 years, 8 months ago (2016-03-30 16:09:38 UTC) #9
ajuma
On 2016/03/30 16:09:38, bokan wrote: > On 2016/03/30 14:21:24, ajuma wrote: > > On 2016/03/30 ...
4 years, 8 months ago (2016-03-30 17:19:40 UTC) #10
bokan
On 2016/03/30 17:19:40, ajuma wrote: > On 2016/03/30 16:09:38, bokan wrote: > > On 2016/03/30 ...
4 years, 8 months ago (2016-03-30 17:57:11 UTC) #11
ajuma
Thanks, lgtm.
4 years, 8 months ago (2016-03-30 17:58:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841783003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841783003/20001
4 years, 8 months ago (2016-03-30 17:59:09 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-30 19:30:06 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-03-30 20:05:21 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7ad75edb50ed225455b994f4e310d6db86205aa2
Cr-Commit-Position: refs/heads/master@{#384054}

Powered by Google App Engine
This is Rietveld 408576698