| Index: content/browser/browser_plugin/old/browser_plugin_host.cc
|
| diff --git a/content/browser/browser_plugin/old/browser_plugin_host.cc b/content/browser/browser_plugin/old/browser_plugin_host.cc
|
| index 53ea3847c92630e45762d8aa497e662cf0576a59..87ec8d4ce6cd5989ca87fdd6ff0dd19e5d20fd88 100644
|
| --- a/content/browser/browser_plugin/old/browser_plugin_host.cc
|
| +++ b/content/browser/browser_plugin/old/browser_plugin_host.cc
|
| @@ -94,14 +94,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->browser_plugin_host();
|
| guest_observer->set_embedder_render_process_host(
|
|
|