Index: content/browser/site_instance.cc |
diff --git a/content/browser/site_instance.cc b/content/browser/site_instance.cc |
index a59d1ca0ea270bf885b14715bffc6170c1918579..3030d7e15908bd66cdf9761f647afe279d323404 100644 |
--- a/content/browser/site_instance.cc |
+++ b/content/browser/site_instance.cc |
@@ -8,7 +8,8 @@ |
#include "chrome/browser/renderer_host/browser_render_process_host.h" |
#include "chrome/common/url_constants.h" |
#include "content/browser/browsing_instance.h" |
-#include "content/browser/webui/web_ui_factory.h" |
+#include "content/browser/webui/web_ui_register.h" |
+#include "content/browser/webui/web_ui_source.h" |
#include "content/common/notification_service.h" |
#include "net/base/registry_controlled_domain.h" |
@@ -211,7 +212,7 @@ RenderProcessHost::Type SiteInstance::RendererTypeForURL(const GURL& url) { |
return RenderProcessHost::TYPE_EXTENSION; |
// TODO(erikkay) creis recommends using UseWebUIForURL instead. |
- if (WebUIFactory::HasWebUIScheme(url)) |
+ if (WebUIRegister::GetSource()->HasWebUIScheme(url)) |
return RenderProcessHost::TYPE_WEBUI; |
return RenderProcessHost::TYPE_NORMAL; |