Index: content/browser/webui/web_ui_factory.cc |
diff --git a/content/browser/webui/web_ui_factory.cc b/content/browser/webui/web_ui_factory.cc |
index 7468407e98e4f89b2ad778e3649ebccd4571085e..350d403526af7f75974e509deffcb2f6dd90b3a2 100644 |
--- a/content/browser/webui/web_ui_factory.cc |
+++ b/content/browser/webui/web_ui_factory.cc |
@@ -99,8 +99,10 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile, |
if (url.SchemeIs(chrome::kGearsScheme)) |
return &NewWebUI<HtmlDialogUI>; |
- if (url.host() == chrome::kChromeUIDialogHost) |
+ if (url.host() == chrome::kChromeUIDialogHost || |
+ url.host() == chrome::kChromeUICollectedCookiesHost) { |
return &NewWebUI<ConstrainedHtmlUI>; |
+ } |
ExtensionService* service = profile ? profile->GetExtensionService() : NULL; |
if (service && service->ExtensionBindingsAllowed(url)) |