DescriptionCC: 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 #
Messages
Total messages: 5 (0 generated)
|