Index: content/browser/web_contents/web_contents_impl.cc |
=================================================================== |
--- content/browser/web_contents/web_contents_impl.cc (revision 238847) |
+++ content/browser/web_contents/web_contents_impl.cc (working copy) |
@@ -607,6 +607,10 @@ |
return host ? host->GetProcess() : NULL; |
} |
+RenderFrameHost* WebContentsImpl::GetMainFrame() { |
+ return frame_tree_.root()->render_frame_host(); |
+} |
+ |
RenderViewHost* WebContentsImpl::GetRenderViewHost() const { |
return GetRenderManager()->current_host(); |
} |