| Index: cc/layers/layer_impl.h
|
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
|
| index f52b5de77ce21807418f2b26e0d19c41b6f03449..9f7eadc5fe0ac1191a7b051ddd2e6b68a3e5683e 100644
|
| --- a/cc/layers/layer_impl.h
|
| +++ b/cc/layers/layer_impl.h
|
| @@ -401,6 +401,13 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
| void SetScrollDelta(const gfx::Vector2dF& scroll_delta);
|
| gfx::Vector2dF ScrollDelta() const;
|
|
|
| + void SetMainScrollOffsetFractionalPart(const gfx::Vector2dF& scroll_offset) {
|
| + main_scroll_offset_fractional_part_ = scroll_offset;
|
| + }
|
| + gfx::Vector2dF MainScrollOffsetFractionalPart() const {
|
| + return main_scroll_offset_fractional_part_;
|
| + }
|
| +
|
| gfx::ScrollOffset TotalScrollOffset() const;
|
|
|
| void SetSentScrollDelta(const gfx::Vector2dF& sent_scroll_delta);
|
| @@ -675,6 +682,8 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
| gfx::Vector2dF sent_scroll_delta_;
|
| gfx::ScrollOffset last_scroll_offset_;
|
|
|
| + gfx::Vector2dF main_scroll_offset_fractional_part_;
|
| +
|
| int num_descendants_that_draw_content_;
|
|
|
| // The global depth value of the center of the layer. This value is used
|
|
|