| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index 602ebc06eaa05b2be262299e93e41d4cc84da169..879834d8649eae902ef6294ed9849b9885c02cb4 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -242,6 +242,10 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
| bool force_render_surface() const { return force_render_surface_; }
|
|
|
| gfx::Vector2d ScrollDelta() const { return gfx::Vector2d(); }
|
| + gfx::Vector2dF TotalScrollOffset() const {
|
| + // Floating point to match the LayerImpl version.
|
| + return scroll_offset() + ScrollDelta();
|
| + }
|
|
|
| void SetDoubleSided(bool double_sided);
|
| bool double_sided() const { return double_sided_; }
|
|
|