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 bd4f19356302ab5b2f00c5ccc3ce19452da87975..9a2dab18adf4109c118e44787e86845b08c27843 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -3979,14 +3979,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 |