Index: content/browser/tab_contents/tab_contents_view.cc |
=================================================================== |
--- content/browser/tab_contents/tab_contents_view.cc (revision 79692) |
+++ content/browser/tab_contents/tab_contents_view.cc (working copy) |
@@ -37,7 +37,8 @@ |
route_id, |
tab_contents_->profile(), |
tab_contents_->GetSiteInstance(), |
- tab_contents_->GetWebUITypeForCurrentState(), |
+ WebUIFactory::GetWebUIType(tab_contents_->profile(), |
+ tab_contents_->GetURL()), |
tab_contents_, |
params.window_container_type, |
params.frame_name); |