Index: chrome/browser/tab_contents/tab_util.cc |
=================================================================== |
--- chrome/browser/tab_contents/tab_util.cc (revision 119190) |
+++ chrome/browser/tab_contents/tab_util.cc (working copy) |
@@ -6,7 +6,7 @@ |
#include "chrome/browser/extensions/extension_service.h" |
#include "chrome/browser/profiles/profile.h" |
-#include "chrome/browser/ui/webui/chrome_web_ui_factory.h" |
+#include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" |
#include "chrome/common/chrome_switches.h" |
#include "content/browser/renderer_host/render_view_host.h" |
#include "content/public/browser/render_view_host_delegate.h" |
@@ -36,7 +36,8 @@ |
// of renderer process up front. Otherwise, we create a normal SiteInstance |
// as part of creating the tab. |
ExtensionService* service = profile->GetExtensionService(); |
- if (ChromeWebUIFactory::GetInstance()->UseWebUIForURL(profile, url) || |
+ if (ChromeWebUIControllerFactory::GetInstance()->UseWebUIForURL( |
+ profile, url) || |
(service && |
service->extensions()->GetHostedAppByURL(ExtensionURLInfo(url)))) { |
return SiteInstance::CreateForURL(profile, url); |