Descriptioncc: Always commit and redraw after scrolling
During the move from WebKit::IntSize to gfx::Vector2d in the compositor
code an IntSize::isEmpty() got accidentally replaced with
Vector2d::IsZero() in LayerTreeHostImpl::scrollBy(). This caused cases
where we'd change the position of a layer during scrolling but didn't
schedule a commit or a redraw. This happened for instance when
diagonally scrolling a layer against its edge.
This patch fixes the issue by always requesting a commit/redraw if any
layer was moved while applying the scroll delta.
TEST=LayerTreeHostImplTest.scrollByReturnsCorrectValue
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171069
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|