Index: chrome/browser/dom_distiller/profile_utils.cc |
diff --git a/chrome/browser/dom_distiller/profile_utils.cc b/chrome/browser/dom_distiller/profile_utils.cc |
index 1e2c54d5d7fad8002af6f6f1103cc2b0f3715b29..cf9b05c5e938406f5f8916c034d5323fceeff4cf 100644 |
--- a/chrome/browser/dom_distiller/profile_utils.cc |
+++ b/chrome/browser/dom_distiller/profile_utils.cc |
@@ -23,7 +23,8 @@ |
void RegisterDomDistillerViewerSource(Profile* profile) { |
const base::CommandLine& command_line = |
*base::CommandLine::ForCurrentProcess(); |
- if (command_line.HasSwitch(switches::kEnableDomDistiller)) { |
+ if (command_line.HasSwitch(switches::kEnableDomDistiller) || |
+ !command_line.HasSwitch(switches::kDisablePrintPreviewSimplify)) { |
dom_distiller::DomDistillerServiceFactory* dom_distiller_service_factory = |
dom_distiller::DomDistillerServiceFactory::GetInstance(); |
// The LazyDomDistillerService deletes itself when the profile is destroyed. |