Index: printing/pdf_metafile_cg_mac.cc |
diff --git a/printing/pdf_metafile_cg_mac.cc b/printing/pdf_metafile_cg_mac.cc |
index f6a53f5552cfe8716bf826df123d09b88aacde53..898e795010052ebe85a5d8bc7bfde2fb6024fe09 100644 |
--- a/printing/pdf_metafile_cg_mac.cc |
+++ b/printing/pdf_metafile_cg_mac.cc |
@@ -174,15 +174,7 @@ |
LOG(ERROR) << "Unable to initialize PDF document from data"; |
return false; |
} |
- return metafile.OnRenderPage(page_number, context, rect, params); |
-} |
- |
-bool PdfMetafileCg::OnRenderPage( |
- unsigned int page_number, |
- CGContextRef context, |
- const CGRect rect, |
- const PdfMetafileCg::RenderPageParams& params) { |
- CGPDFDocumentRef pdf_doc = GetPDFDocument(); |
+ CGPDFDocumentRef pdf_doc = metafile.GetPDFDocument(); |
if (!pdf_doc) { |
LOG(ERROR) << "Unable to create PDF document from data"; |
return false; |