| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index 03c6301c4903bcc8bb8f18f21d97f9955d1a215d..b74d4c43feb20c27ca33268f2a170643e11d6347 100644
|
| --- a/ui/compositor/layer.cc
|
| +++ b/ui/compositor/layer.cc
|
| @@ -837,6 +837,10 @@ void Layer::SetScrollable(Layer* parent_clip_layer,
|
| cc_layer_->SetUserScrollable(true, true);
|
| }
|
|
|
| +cc::ElementId Layer::GetElementId() const {
|
| + return cc_layer_->element_id();
|
| +}
|
| +
|
| gfx::ScrollOffset Layer::CurrentScrollOffset() const {
|
| const Compositor* compositor = GetCompositor();
|
| gfx::ScrollOffset offset;
|
|
|