| Index: chrome/browser/tab_contents/background_contents.cc
|
| diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc
|
| index 7b35bdc867443699a8a32ff640d0bff53be2fa90..b33ae3245f228cadcdca6124a5e603b100264574 100644
|
| --- a/chrome/browser/tab_contents/background_contents.cc
|
| +++ b/chrome/browser/tab_contents/background_contents.cc
|
| @@ -166,13 +166,14 @@ void BackgroundContents::CreateNewWindow(
|
| int route_id,
|
| WindowContainerType window_container_type,
|
| const string16& frame_name) {
|
| - delegate_view_helper_.CreateNewWindow(route_id,
|
| - render_view_host_->process()->profile(),
|
| - render_view_host_->site_instance(),
|
| - DOMUIFactory::GetDOMUIType(url_),
|
| - this,
|
| - window_container_type,
|
| - frame_name);
|
| + delegate_view_helper_.CreateNewWindow(
|
| + route_id,
|
| + render_view_host_->process()->profile(),
|
| + render_view_host_->site_instance(),
|
| + DOMUIFactory::GetDOMUIType(render_view_host_->process()->profile(), url_),
|
| + this,
|
| + window_container_type,
|
| + frame_name);
|
| }
|
|
|
| void BackgroundContents::CreateNewWidget(int route_id,
|
|
|