summaryrefslogtreecommitdiffstats
path: root/printing/printed_document.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printed_document.cc')
-rw-r--r--printing/printed_document.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/printing/printed_document.cc b/printing/printed_document.cc
index 7f2834e..d8edd3a 100644
--- a/printing/printed_document.cc
+++ b/printing/printed_document.cc
@@ -67,16 +67,14 @@ void PrintedDocument::SetPage(int page_number,
Metafile* metafile,
double shrink,
const gfx::Size& paper_size,
- const gfx::Rect& page_rect,
- bool has_visible_overlays) {
+ const gfx::Rect& page_rect) {
// Notice the page_number + 1, the reason is that this is the value that will
// be shown. Users dislike 0-based counting.
scoped_refptr<PrintedPage> page(
new PrintedPage(page_number + 1,
metafile,
paper_size,
- page_rect,
- has_visible_overlays));
+ page_rect));
{
base::AutoLock lock(lock_);
mutable_.pages_[page_number] = page;