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 0cb62fd8e335545ffaf00c793c0686c16e556e38..f62f570633d8b3eda448ecba7f61e9947c544c55 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(); |
} |