AttachToOuterWebContentsFrame => AttachInnerWebContents

https://chromium-review.googlesource.com/c/1492653
This commit is contained in:
Jeremy Apthorp 2019-03-06 17:25:13 -08:00 committed by Samuel Attard
parent 0d534b3c52
commit bf6fea3b59

View file

@ -42,7 +42,7 @@ void WebViewGuestDelegate::AttachToIframe(
// Attach this inner WebContents |guest_web_contents| to the outer // Attach this inner WebContents |guest_web_contents| to the outer
// WebContents |embedder_web_contents|. The outer WebContents's // WebContents |embedder_web_contents|. The outer WebContents's
// frame |embedder_frame| hosts the inner WebContents. // frame |embedder_frame| hosts the inner WebContents.
guest_web_contents->AttachToOuterWebContentsFrame( embedder_web_contents_->AttachInnerWebContents(
base::WrapUnique<content::WebContents>(guest_web_contents), base::WrapUnique<content::WebContents>(guest_web_contents),
embedder_frame); embedder_frame);