| Index: cc/layer_impl.cc
|
| diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc
|
| index f9c3271a9426ad8b05d03a6de4939d764defd26d..1802a15dacef5c18b857958e81e46e8a84f580a0 100644
|
| --- a/cc/layer_impl.cc
|
| +++ b/cc/layer_impl.cc
|
| @@ -820,6 +820,13 @@ void LayerImpl::setMaxScrollOffset(gfx::Vector2d maxScrollOffset)
|
| m_scrollbarAnimationController->updateScrollOffset(this);
|
| }
|
|
|
| +void LayerImpl::setVisibleScrollArea(gfx::Size visibleScrollArea)
|
| +{
|
| + if (m_visibleScrollArea == visibleScrollArea)
|
| + return;
|
| + m_visibleScrollArea = visibleScrollArea;
|
| +}
|
| +
|
| ScrollbarLayerImpl* LayerImpl::horizontalScrollbarLayer()
|
| {
|
| return m_scrollbarAnimationController ? m_scrollbarAnimationController->horizontalScrollbarLayer() : 0;
|
|
|