| 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 0ab358f06eb7dcc20666cde8805407294848fb93..1c4a0fec943c21584fb5a1ee9ebd6dae1980f2bb 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -628,6 +628,11 @@ bool WebLocalFrameImpl::hasVerticalScrollbar() const {
|
| return frame() && frame()->view() && frame()->view()->verticalScrollbar();
|
| }
|
|
|
| +void WebLocalFrameImpl::collapseFrameOwner(bool collapsed) {
|
| + DCHECK(frame()->owner()->isLocal());
|
| + frame()->owner()->setShouldCollapse(collapsed);
|
| +}
|
| +
|
| WebView* WebLocalFrameImpl::view() const {
|
| return viewImpl();
|
| }
|
|
|