Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 65b0a7762efee86ab154f52097c6d0684b945620..0949766784c30926a49d57f4c2a437d0e0483aea 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -1289,6 +1289,9 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
switches::kDisableClientSidePhishingDetection); |
} |
+ if (prefs->GetBoolean(prefs::kPrintPreviewDisabled)) |
+ command_line->AppendSwitch(switches::kDisablePrintPreview); |
+ |
InstantService* instant_service = |
InstantServiceFactory::GetForProfile(profile); |
if (instant_service && |