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

Issue 25496002: CC: Fix call order of ScrollOffsetDelegate in ActivatePendingTree. (Closed)

Created:
7 years, 2 months ago by Primiano Tucci (use gerrit)
Modified:
7 years, 2 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

CC: Fix call order of ScrollOffsetDelegate in ActivatePendingTree. When a full tree synchronization happens, the ScrollOffsetDelegate is called too early (i.e. before DidBecomeActive()) and sees always a 0x0 scroll offset. This CL swaps the call order of SetRootLayerScrollOffsetDelegate and DidBecomeActive during the active tree activation in LayerTreeHostImpl::ActivatePendingTree. Updating also the unit tests to prevent future regressions on the RootLayerScrollOffsetDelegate. BUG=b/10959756 TBR=mkosiba@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226255

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M cc/trees/layer_tree_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 4 chunks +20 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Primiano Tucci (use gerrit)
7 years, 2 months ago (2013-10-01 11:24:37 UTC) #1
Primiano Tucci (use gerrit)
+danakj : Could you please take a look? Thanks
7 years, 2 months ago (2013-10-01 11:31:51 UTC) #2
danakj
LGTM, thanks for the test!
7 years, 2 months ago (2013-10-01 14:29:24 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/25496002/1
7 years, 2 months ago (2013-10-01 15:06:59 UTC) #4
commit-bot: I haz the power
7 years, 2 months ago (2013-10-01 17:31:31 UTC) #5
Message was sent while issue was closed.
Change committed as 226255

Powered by Google App Engine
This is Rietveld 408576698