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 7503e02b29245277e409ef1c5b21fc9c0e4a33b7..3e15ef8eefcb3059f7ff20a89220258ed905d854 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 && |