| Index: components/plugins/renderer/webview_plugin.cc
|
| diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
|
| index 19e2e3c681e172da7afba392bbbbab0857378226..6200094c08b4ac6035218dddb1c50cad9f0133df 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_);
|
| }
|
|
|
|
|