Index: chrome/browser/tab_contents/tab_contents_view.cc |
diff --git a/chrome/browser/tab_contents/tab_contents_view.cc b/chrome/browser/tab_contents/tab_contents_view.cc |
index 78d084a35907bd2e43d847277945bd3e5aecccea..ecdf6975aa6f9b980f81e2dfcec3c1672b9ac3b1 100644 |
--- a/chrome/browser/tab_contents/tab_contents_view.cc |
+++ b/chrome/browser/tab_contents/tab_contents_view.cc |
@@ -32,9 +32,10 @@ void TabContentsView::UpdatePreferredWidth(int pref_width) { |
void TabContentsView::CreateNewWindow(int route_id, |
base::WaitableEvent* modal_dialog_event) { |
- delegate_view_helper_.CreateNewWindow(route_id, modal_dialog_event, |
- tab_contents_->profile(), |
- tab_contents_->GetSiteInstance()); |
+ delegate_view_helper_.CreateNewWindow( |
+ route_id, modal_dialog_event, |
+ tab_contents_->profile(), tab_contents_->GetSiteInstance(), |
+ DOMUIFactory::GetDOMUIType(tab_contents_->GetURL())); |
} |
void TabContentsView::CreateNewWidget(int route_id, bool activatable) { |