Index: content/browser/browser_plugin/browser_plugin_guest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
index 7d2ee45066a3e7dee940d97f60a3f6e2ac174105..66308f2024bdcca01d77169bb872f5de62c8e46e 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -787,6 +787,7 @@ void BrowserPluginGuest::OnWillAttachComplete( |
static_cast<RenderViewHostImpl*>(GetWebContents()->GetRenderViewHost()) |
->GetWidget() |
->Init(); |
+ GetWebContents()->GetMainFrame()->Init(); |
WebContentsViewGuest* web_contents_view = |
static_cast<WebContentsViewGuest*>(GetWebContents()->GetView()); |
if (!web_contents()->GetRenderViewHost()->GetWidget()->GetView()) { |