Index: trunk/src/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
=================================================================== |
--- trunk/src/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (revision 223539) |
+++ trunk/src/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (working copy) |
@@ -55,8 +55,6 @@ |
#include "chrome/common/extensions/feature_switch.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
-#include "components/dom_distiller/core/dom_distiller_constants.h" |
-#include "components/dom_distiller/webui/dom_distiller_ui.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_ui.h" |
#include "content/public/common/content_client.h" |
@@ -239,11 +237,6 @@ |
return &NewWebUI<LocalDiscoveryUI>; |
} |
#endif |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableDomDistiller) && |
- url.host() == dom_distiller::kChromeUIDomDistillerHost) { |
- return &NewWebUI<dom_distiller::DomDistillerUI>; |
- } |
if (url.host() == chrome::kChromeUIFlagsHost) |
return &NewWebUI<FlagsUI>; |
if (url.host() == chrome::kChromeUIHistoryFrameHost) |