| Index: cc/layers/layer_impl.h
|
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
|
| index 1e8fa63d3f5ef29db059bd1ec911522a361afb66..19ef07f6f8ed0cfa6ae52de1d0da633b154712d4 100644
|
| --- a/cc/layers/layer_impl.h
|
| +++ b/cc/layers/layer_impl.h
|
| @@ -365,6 +365,9 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
|
|
| void SetBounds(const gfx::Size& bounds);
|
| gfx::Size bounds() const;
|
| + // 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_; }
|
|
|
|
|