Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(775)

Unified Diff: printing/printing_context_linux.cc

Issue 568633002: Extracted MetafilePlayer interface from printing::MetafilePlayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_expose
Patch Set: Thu Sep 11 22:54:16 PDT 2014 Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/printing_context_linux.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_linux.cc
diff --git a/printing/printing_context_linux.cc b/printing/printing_context_linux.cc
index 926d4e2bdaee928f27b5305c6837aafdde10ae7c..8e23577ce8b826429a0571315da25be12230c281 100644
--- a/printing/printing_context_linux.cc
+++ b/printing/printing_context_linux.cc
@@ -59,9 +59,8 @@ void PrintingContextLinux::SetPdfPaperSizeFunction(
get_pdf_paper_size_ = get_pdf_paper_size;
}
-void PrintingContextLinux::PrintDocument(const Metafile* metafile) {
+void PrintingContextLinux::PrintDocument(const MetafilePlayer& metafile) {
DCHECK(print_dialog_);
- DCHECK(metafile);
print_dialog_->PrintDocument(metafile, document_name_);
}
« no previous file with comments | « printing/printing_context_linux.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698