| Index: chrome/browser/ui/tab_helpers.cc
|
| diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
| index d49e7a26fff4471465276e5c1d4c36948a99e780..aaf81543a686f9fcc39a2635ce5f801f75015359 100644
|
| --- a/chrome/browser/ui/tab_helpers.cc
|
| +++ b/chrome/browser/ui/tab_helpers.cc
|
| @@ -236,7 +236,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);
|
| }
|
|
|