| 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 78689f2f694ead9c86e9618ce32b762feadb76b4..45d4a8b197676cf6156b61bab6e403f821063688 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -4647,4 +4647,15 @@ void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
|
| view_->SetOverscrollControllerEnabled(CanOverscrollContent());
|
| }
|
|
|
| +WebContentsImpl* WebContentsImpl::GetOuterWebContents() {
|
| + if (BrowserPluginGuestMode::UseCrossProcessFramesForGuests()) {
|
| + if (node_)
|
| + return node_->outer_web_contents();
|
| + } else {
|
| + if (GetBrowserPluginGuest())
|
| + return GetBrowserPluginGuest()->embedder_web_contents();
|
| + }
|
| + return nullptr;
|
| +}
|
| +
|
| } // namespace content
|
|
|