Chromium Code Reviews
DescriptionUse element ids as a stable identifier tracking scroll nodes across updates
Before the pending tree is swapped to the active tree we need to record
the currently scrolling node. Once the pending tree has been pushed to
the active tree, the currently scrolling node then needs to be set.
Because the topology of the scroll tree can change, this is not as
simple as tracking the scroll node index.
Before this patch, layers were used as the stable identifier across
scroll tree updates. This patch switches to using element ids which
lets us remove another user of ScrollNode's owning_layer_id.
BUG=693740
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2723023004
Cr-Commit-Position: refs/heads/master@{#454349}
Committed: https://chromium.googlesource.com/chromium/src/+/c4e18068559bd3637c76ac46ead252b1d343098e
Patch Set 1 #
Total comments: 2
Patch Set 2 : No need for an explicit ctor #
Messages
Total messages: 15 (10 generated)
|
||||||||||||||||||||||||||||