Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 694f3b68eebf085e9b90ab6ed0e54eee8437f40b..780c6b9d0d505ef5a2922b8de17b2cc5dd2f9daf 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -3998,14 +3998,12 @@ bool WebContentsImpl::GetAllowOverlappingViews() { |
return view_->GetAllowOverlappingViews(); |
} |
-void WebContentsImpl::SetOverlayView(WebContents* overlay, |
- const gfx::Point& offset) { |
- view_->SetOverlayView(static_cast<WebContentsImpl*>(overlay)->GetView(), |
- offset); |
+void WebContentsImpl::SetAllowOtherViews(bool allow) { |
+ view_->SetAllowOtherViews(allow); |
} |
-void WebContentsImpl::RemoveOverlayView() { |
- view_->RemoveOverlayView(); |
+bool WebContentsImpl::GetAllowOtherViews() { |
+ return view_->GetAllowOtherViews(); |
} |
#endif |