| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 2aef8845c49e0eefc3ecf0704d817dddd0b61b04..bba9fe1aed48681ecea9c8a7a8a0b2ccc1c40676 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -630,6 +630,11 @@ bool WebLocalFrameImpl::hasVerticalScrollbar() const {
|
| return frame() && frame()->view() && frame()->view()->verticalScrollbar();
|
| }
|
|
|
| +void WebLocalFrameImpl::collapse(bool collapsed) {
|
| + DCHECK(frame()->owner()->isLocal());
|
| + frame()->owner()->setCollapsedByClient(collapsed);
|
| +}
|
| +
|
| WebView* WebLocalFrameImpl::view() const {
|
| return viewImpl();
|
| }
|
|
|