summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_view_host.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index 3e0858f..62fde16 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -363,7 +363,9 @@ bool RenderViewHost::PrintPages() {
}
bool RenderViewHost::PrintPreview() {
- return Send(new ViewMsg_PrintPreview(routing_id()));
+ // TODO(thestig) Get settings from the print preview UI.
+ DictionaryValue dummy_dict;
+ return Send(new ViewMsg_PrintPreview(routing_id(), dummy_dict));
}
void RenderViewHost::PrintingDone(int document_cookie, bool success) {