Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 9f7eadc5fe0ac1191a7b051ddd2e6b68a3e5683e..883f8244e3c9baf2b7b909f0cb538ab1eb43e3a9 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -401,11 +401,11 @@ 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; |
+ void SetScrollCompensationAdjustment(const gfx::Vector2dF& scroll_offset) { |
+ scroll_compensation_adjustment_ = scroll_offset; |
} |
- gfx::Vector2dF MainScrollOffsetFractionalPart() const { |
- return main_scroll_offset_fractional_part_; |
+ gfx::Vector2dF ScrollCompensationAdjustment() const { |
+ return scroll_compensation_adjustment_; |
} |
gfx::ScrollOffset TotalScrollOffset() const; |
@@ -682,7 +682,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
gfx::Vector2dF sent_scroll_delta_; |
gfx::ScrollOffset last_scroll_offset_; |
- gfx::Vector2dF main_scroll_offset_fractional_part_; |
+ gfx::Vector2dF scroll_compensation_adjustment_; |
int num_descendants_that_draw_content_; |