Index: chrome/browser/ui/browser_navigator.cc |
=================================================================== |
--- chrome/browser/ui/browser_navigator.cc (revision 79692) |
+++ chrome/browser/ui/browser_navigator.cc (working copy) |
@@ -16,7 +16,6 @@ |
#include "chrome/browser/ui/status_bubble.h" |
#include "chrome/browser/ui/omnibox/location_bar.h" |
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
-#include "chrome/browser/ui/webui/chrome_web_ui_factory.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/url_constants.h" |
#include "content/browser/site_instance.h" |
@@ -32,7 +31,7 @@ |
// If url is a WebUI or extension, we need to be sure to use the right type |
// of renderer process up front. Otherwise, we create a normal SiteInstance |
// as part of creating the tab. |
- if (ChromeWebUIFactory::GetInstance()->UseWebUIForURL(profile, url)) |
+ if (WebUIFactory::UseWebUIForURL(profile, url)) |
return SiteInstance::CreateSiteInstanceForURL(profile, url); |
if (!source_contents) |