Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 286744be761889d90bbd2e70b490da15fd71f03c..b494098f485e7bbf7065d7d4cacd8aa9c10cd68d 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -269,8 +269,8 @@ class CC_EXPORT LayerImpl { |
// Like bounds() but doesn't snap to int. Lossy on giant pages (e.g. millions |
// of pixels) due to use of single precision float. |
gfx::SizeF BoundsForScrolling() const; |
- void SetBoundsDelta(const gfx::Vector2dF& bounds_delta); |
- gfx::Vector2dF bounds_delta() const { return bounds_delta_; } |
+ void SetViewportBoundsDelta(const gfx::Vector2dF& bounds_delta); |
+ gfx::Vector2dF ViewportBoundsDelta() const; |
void SetCurrentScrollOffset(const gfx::ScrollOffset& scroll_offset); |
gfx::ScrollOffset CurrentScrollOffset() const; |
@@ -471,8 +471,6 @@ class CC_EXPORT LayerImpl { |
std::unique_ptr<LayerImplTestProperties> test_properties_; |
- gfx::Vector2dF bounds_delta_; |
- |
// Properties synchronized from the associated Layer. |
gfx::Size bounds_; |
int scroll_clip_layer_id_; |