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 f866c138d167035c173c9e997937244420004ce0..6b1407b78e0ace939218a24a5478b0c23d48f1c3 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1590,18 +1590,6 @@ |
frame_tree_.ReplicatePageFocus(is_focused); |
} |
-RenderWidgetHostImpl* WebContentsImpl::GetFocusedRenderWidgetHost() { |
- if (!SiteIsolationPolicy::AreCrossProcessFramesPossible()) |
- return GetMainFrame()->GetRenderWidgetHost(); |
- |
- FrameTreeNode* focused_frame = frame_tree_.GetFocusedFrame(); |
- if (!focused_frame) |
- return GetMainFrame()->GetRenderWidgetHost(); |
- |
- return RenderWidgetHostImpl::From( |
- focused_frame->current_frame_host()->GetView()->GetRenderWidgetHost()); |
-} |
- |
void WebContentsImpl::EnterFullscreenMode(const GURL& origin) { |
// This method is being called to enter renderer-initiated fullscreen mode. |
// Make sure any existing fullscreen widget is shut down first. |