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 983ed41124707e3e1870864c03e51a7eae2e34e6..1855e5da81723d59eedbb5d5de86f003629a12d1 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -791,6 +791,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()) { |