| Index: components/plugins/renderer/webview_plugin.cc
|
| diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
|
| index 96347fd5b22894d909c842c3dc25a6d2309d1aa9..bc618556448f38e60ad7e1e6913a7ce5a4918c86 100644
|
| --- a/components/plugins/renderer/webview_plugin.cc
|
| +++ b/components/plugins/renderer/webview_plugin.cc
|
| @@ -52,7 +52,7 @@ WebViewPlugin::WebViewPlugin(WebViewPlugin::Delegate* delegate,
|
| // ApplyWebPreferences before making a WebLocalFrame so that the frame sees a
|
| // consistent view of our preferences.
|
| content::RenderView::ApplyWebPreferences(preferences, web_view_);
|
| - web_frame_ = WebLocalFrame::create(this);
|
| + web_frame_ = WebLocalFrame::create(blink::WebTreeScopeType::Document, this);
|
| web_view_->setMainFrame(web_frame_);
|
| }
|
|
|
|
|