| Index: chrome/browser/ui/tab_helpers.cc
|
| diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
| index 119518be2ef3adad26e820b213e9354f0ffd6dc9..f61cc101521191ee1e8798c2a83a3216c5ea19b8 100644
|
| --- a/chrome/browser/ui/tab_helpers.cc
|
| +++ b/chrome/browser/ui/tab_helpers.cc
|
| @@ -239,7 +239,9 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
| #endif // defined(ENABLE_PRINTING) && !defined(OS_ANDROID)
|
|
|
| if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableDomDistiller)) {
|
| + switches::kEnableDomDistiller) ||
|
| + !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisablePrintPreviewSimplify)) {
|
| dom_distiller::WebContentsMainFrameObserver::CreateForWebContents(
|
| web_contents);
|
| }
|
|
|