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

Issue 692213002: Create PageScaleAnimation after ImplTree is activated. (Closed)

Created:
6 years, 1 month ago by bokan
Modified:
6 years, 1 month ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Create PageScaleAnimation after ImplTree is activated. Since https://codereview.chromium.org/615953005/ the PageScaleAnimation was created on the pending tree during a commit. This led to crbug.com/428327 since PageScaleAnimation is passed in the TotalScrollOffset of the viewport. The viewport scroll offset on the pending tree will be different than the offset on the active tree. This patch effectively reverts most of https://codereview.chromium.org/615953005/. Instead, the PendingPageScaleAnimation struct is given to the pending tree. Upon, activation, this information is used in LayerTreeHostImpl to construct a new PageScaleAnimation as before, using the active tree's state. BUG=428327 Committed: https://crrev.com/fcdbc18c93053642b3cb8b143e6b2bf7f521dedb Cr-Commit-Position: refs/heads/master@{#305292}

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -97 lines) Patch
M cc/input/page_scale_animation.h View 1 chunk +19 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 chunks +1 line, -6 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 3 chunks +9 lines, -11 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 chunks +50 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 5 chunks +38 lines, -28 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 3 chunks +5 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 chunks +8 lines, -38 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
bokan
PTAL, it's looks like a big patch for a merge, but much of it is ...
6 years, 1 month ago (2014-10-31 20:31:49 UTC) #2
bokan
On 2014/10/31 20:31:49, bokan wrote: > PTAL, it's looks like a big patch for a ...
6 years, 1 month ago (2014-10-31 20:40:01 UTC) #3
aelias_OOO_until_Jul13
Hmm, the feedback from the pending_twin scroll delta push seems bogus in any case. That ...
6 years, 1 month ago (2014-10-31 21:18:03 UTC) #4
bokan
On 2014/10/31 21:18:03, aelias wrote: > Hmm, the feedback from the pending_twin scroll delta push ...
6 years, 1 month ago (2014-11-03 15:40:09 UTC) #5
aelias_OOO_until_Jul13
OK, lgtm to land this if you think it's a cleanup. I'm fine with cherry-picking ...
6 years, 1 month ago (2014-11-03 19:27:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/692213002/20001
6 years, 1 month ago (2014-11-21 20:59:49 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-11-21 21:53:40 UTC) #9
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 21:54:23 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fcdbc18c93053642b3cb8b143e6b2bf7f521dedb
Cr-Commit-Position: refs/heads/master@{#305292}

Powered by Google App Engine
This is Rietveld 408576698