DescriptionDon't set scroll client for main frame
Instead, only set the scroll client on scrollable layers that are not
the main frame. This also drops a needless per-layer allocation for
non-scrollable layers.
By doing this, it allows LayerTreeHost to reuse
cc::Layer::SetScrollOffsetFromImpl for pre-setting the value of scroll
offset on the root scroll layer prior to calling ApplyScrollAndScale.
This patch depends on https://codereview.chromium.org/18348021/.
R=jamesr@chromium.org
BUG=256381
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153698
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address jamesr review #
Messages
Total messages: 6 (0 generated)
|