summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/mock_render_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/mock_render_thread.cc')
-rw-r--r--chrome/renderer/mock_render_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/mock_render_thread.cc b/chrome/renderer/mock_render_thread.cc
index c6fc519..0e074d6 100644
--- a/chrome/renderer/mock_render_thread.cc
+++ b/chrome/renderer/mock_render_thread.cc
@@ -241,7 +241,7 @@ void MockRenderThread::OnUpdatePrintSettings(
std::string dummy_string;
if (!job_settings.GetBoolean(printing::kSettingLandscape, NULL) ||
!job_settings.GetBoolean(printing::kSettingCollate, NULL) ||
- !job_settings.GetBoolean(printing::kSettingColor, NULL) ||
+ !job_settings.GetInteger(printing::kSettingColor, NULL) ||
!job_settings.GetBoolean(printing::kSettingPrintToPDF, NULL) ||
!job_settings.GetBoolean(printing::kIsFirstRequest, NULL) ||
!job_settings.GetString(printing::kSettingDeviceName, &dummy_string) ||