| Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
| diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
| index 184fc5e65e08d3c2aadafb135ab5b55658df1a6d..2f0eef856ada0bbea109be498b099641d4722b99 100644
|
| --- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
| +++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
| @@ -21,7 +21,7 @@
|
|
|
| void RenderViewHostDelegateViewHelper::CreateNewWindow(int route_id,
|
| base::WaitableEvent* modal_dialog_event, Profile* profile,
|
| - SiteInstance* site) {
|
| + SiteInstance* site, DOMUITypeID domui_type) {
|
| // Create the new web contents. This will automatically create the new
|
| // TabContentsView. In the future, we may want to create the view separately.
|
| TabContents* new_contents =
|
| @@ -29,6 +29,7 @@ void RenderViewHostDelegateViewHelper::CreateNewWindow(int route_id,
|
| site,
|
| route_id,
|
| modal_dialog_event);
|
| + new_contents->set_opener_dom_ui_type(domui_type);
|
| TabContentsView* new_view = new_contents->view();
|
|
|
| // TODO(brettw) it seems bogus that we have to call this function on the
|
|
|