Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: content/browser/browser_plugin/old/browser_plugin_host.cc

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix content shell Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698