| Index: content/browser/browser_plugin/old/old_browser_plugin_host.cc
|
| diff --git a/content/browser/browser_plugin/old/old_browser_plugin_host.cc b/content/browser/browser_plugin/old/old_browser_plugin_host.cc
|
| index 6ddee66e448f4b5e1ebd045cbff8c7b64bf3521c..377beb606b08c6db2a2968d3100720d16e361b0c 100644
|
| --- a/content/browser/browser_plugin/old/old_browser_plugin_host.cc
|
| +++ b/content/browser/browser_plugin/old/old_browser_plugin_host.cc
|
| @@ -95,14 +95,12 @@ void BrowserPluginHost::NavigateGuestFromEmbedder(
|
| SiteInstance::CreateForURL(web_contents()->GetBrowserContext(),
|
| guest_url);
|
| guest_web_contents =
|
| - static_cast<WebContentsImpl*>(
|
| - WebContents::Create(
|
| - web_contents()->GetBrowserContext(),
|
| - guest_site_instance,
|
| - MSG_ROUTING_NONE,
|
| - NULL, // base WebContents
|
| - NULL // session storage namespace
|
| - ));
|
| + WebContentsImpl::Create(
|
| + web_contents()->GetBrowserContext(),
|
| + guest_site_instance,
|
| + MSG_ROUTING_NONE,
|
| + NULL // base WebContents
|
| + );
|
| guest_observer =
|
| guest_web_contents->old_browser_plugin_host();
|
| guest_observer->set_embedder_render_process_host(
|
|
|