| 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 2a8a92c6b93fc5ff7299201af9e88d660da46596..e5c61bbddde49ea5d641eb0c0395654fa03ce062 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -463,6 +463,13 @@ std::vector<WebContentsImpl*> WebContentsImpl::GetAllWebContents() {
|
| return result;
|
| }
|
|
|
| +// static
|
| +WebContentsImpl* WebContentsImpl::FromFrameTreeNode(
|
| + FrameTreeNode* frame_tree_node) {
|
| + return static_cast<WebContentsImpl*>(
|
| + WebContents::FromRenderFrameHost(frame_tree_node->current_frame_host()));
|
| +}
|
| +
|
| RenderFrameHostManager* WebContentsImpl::GetRenderManagerForTesting() {
|
| return GetRenderManager();
|
| }
|
|
|