summaryrefslogtreecommitdiffstats
path: root/printing/pdf_metafile_skia.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/pdf_metafile_skia.cc')
-rw-r--r--printing/pdf_metafile_skia.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/printing/pdf_metafile_skia.cc b/printing/pdf_metafile_skia.cc
index beda36f..bcb5af93 100644
--- a/printing/pdf_metafile_skia.cc
+++ b/printing/pdf_metafile_skia.cc
@@ -195,6 +195,11 @@ bool PdfMetafileSkia::SaveToFD(const base::FileDescriptor& fd) const {
}
#endif
-PdfMetafileSkia::PdfMetafileSkia() : data_(new PdfMetafileSkiaData) {}
+PdfMetafileSkia::PdfMetafileSkia()
+ : data_(new PdfMetafileSkiaData),
+ draft_(false) {}
+void PdfMetafileSkia::set_draft(bool draft) const {
+ draft_ = draft;
+}
} // namespace printing