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 ad2e1f3beca21f9d28cfb03c99bf91b1361668ef..ce742f17809ad815e25870756b381c3f5d9591fb 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -325,10 +325,13 @@ BrowserPluginGuest* BrowserPluginGuest::CreateNewGuestWindow( |
// embedder exposes the same API for this guest as its opener. |
scoped_ptr<base::DictionaryValue> extra_params( |
extra_attach_params_->DeepCopy()); |
+ StorageInfo storage_info; |
+ storage_info.partition_id = attach_params.storage_partition_id; |
+ storage_info.persist = attach_params.persist_storage; |
BrowserPluginGuest* new_guest = |
guest_manager->CreateGuest(GetWebContents()->GetSiteInstance(), |
instance_id, |
- attach_params, |
+ storage_info, |
extra_params.Pass()); |
if (new_guest->delegate_) |
new_guest->delegate_->SetOpener(GetWebContents()); |