summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/chrome_mock_render_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/chrome_mock_render_thread.cc')
-rw-r--r--chrome/renderer/chrome_mock_render_thread.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/renderer/chrome_mock_render_thread.cc b/chrome/renderer/chrome_mock_render_thread.cc
index b7f3d11..0cb28ab 100644
--- a/chrome/renderer/chrome_mock_render_thread.cc
+++ b/chrome/renderer/chrome_mock_render_thread.cc
@@ -162,7 +162,10 @@ void ChromeMockRenderThread::OnCheckForCancel(int32 preview_ui_id,
void ChromeMockRenderThread::OnUpdatePrintSettings(
int document_cookie,
const base::DictionaryValue& job_settings,
- PrintMsg_PrintPages_Params* params) {
+ PrintMsg_PrintPages_Params* params,
+ bool* canceled) {
+ if (canceled)
+ *canceled = false;
// Check and make sure the required settings are all there.
// We don't actually care about the values.
std::string dummy_string;