REVIEW: Use strong ownership for attached inner WebContents
https://chromium-review.googlesource.com/c/1301843
This commit is contained in:
parent
96b2623887
commit
c0cf065c1a
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ void WebViewGuestDelegate::AttachToIframe(
|
|||
// WebContents |embedder_web_contents|. The outer WebContents's
|
||||
// frame |embedder_frame| hosts the inner WebContents.
|
||||
api_web_contents_->web_contents()->AttachToOuterWebContentsFrame(
|
||||
embedder_web_contents_, embedder_frame);
|
||||
base::WrapUnique<content::WebContents>(embedder_web_contents_),
|
||||
embedder_frame);
|
||||
|
||||
ResetZoomController();
|
||||
|
||||
|
|
Loading…
Reference in a new issue