Index: printing/pdf_metafile_cg_mac.h |
diff --git a/printing/pdf_metafile_cg_mac.h b/printing/pdf_metafile_cg_mac.h |
index 8992a8c668336072139b64523751011ecfa042c0..7d64f09e45196b07d08a0acc4c8e7549ad7ab78f 100644 |
--- a/printing/pdf_metafile_cg_mac.h |
+++ b/printing/pdf_metafile_cg_mac.h |
@@ -69,6 +69,14 @@ class PRINTING_EXPORT PdfMetafileCg : public Metafile { |
bool center_vertically = false; |
bool autorotate = false; |
}; |
+ // Renders the given page from this metafile into |rect| in the given context. |
+ // Pages use a 1-based index. The rendering uses the arguments in |
+ // |params| to determine scaling, translation, and rotation. |
+ bool OnRenderPage(unsigned int page_number, |
+ CGContextRef context, |
+ const CGRect rect, |
+ const RenderPageParams& params); |
+ |
// Renders the given page from |src_buffer| into |rect| in the given context. |
// Pages use a 1-based index. The rendering uses the arguments in |
// |params| to determine scaling, translation, and rotation. |