Index: chrome_frame/chrome_frame_automation.cc |
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc |
index a816e9a12d2d360246a188ac03891381768f1680..c7f144f4bf326c7aa69c9032683256460ccb8ff0 100644 |
--- a/chrome_frame/chrome_frame_automation.cc |
+++ b/chrome_frame/chrome_frame_automation.cc |
@@ -270,6 +270,11 @@ void AutomationProxyCacheEntry::CreateProxy(ChromeFrameLaunchParams* params, |
command_line->AppendSwitch(switches::kDisablePopupBlocking); |
+#if defined(GOOGLE_CHROME_BUILD) |
+ // Chrome Frame should use the native print dialog. |
+ command_line->AppendSwitch(switches::kDisablePrintPreview); |
+#endif |
+ |
// Disable the "Whoa! Chrome has crashed." dialog, because that isn't very |
// useful for Chrome Frame users. |
#ifndef NDEBUG |