Skip to content

Commit

Permalink
Create new shell with new SiteInstance
Browse files Browse the repository at this point in the history
fix regression: new-instance
  • Loading branch information
rogerwang committed Feb 4, 2013
1 parent 47a02bc commit 26ce4cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/dispatcher_host.cc
Expand Up @@ -211,9 +211,7 @@ void DispatcherHost::OnCreateShell(const std::string& url,
&new_renderer) && new_renderer)
browser_context->set_pinning_renderer(false);

WebContents::CreateParams create_params(
browser_context,
base_web_contents->GetSiteInstance());
WebContents::CreateParams create_params(browser_context, NULL);

WebContents* web_contents = content::WebContentsImpl::CreateWithOpener(
create_params,
Expand Down

0 comments on commit 26ce4cd

Please sign in to comment.