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

Unified Diff: printing/pdf_ps_metafile_cairo.h

Issue 6709009: Stop overloading Init() in NativeMetafile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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/pdf_metafile_mac_unittest.cc ('k') | printing/pdf_ps_metafile_cairo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_ps_metafile_cairo.h
diff --git a/printing/pdf_ps_metafile_cairo.h b/printing/pdf_ps_metafile_cairo.h
index 6cfe5fffb2bdcd3283599de74681a4461c4209e4..129486214421bf9c2047d4f62edaa0bc726627ce 100644
--- a/printing/pdf_ps_metafile_cairo.h
+++ b/printing/pdf_ps_metafile_cairo.h
@@ -23,7 +23,7 @@ class PdfPsMetafile : public NativeMetafile {
// NativeMetafile methods.
virtual bool Init();
- virtual bool Init(const void* src_buffer, uint32 src_buffer_size);
+ virtual bool InitFromData(const void* src_buffer, uint32 src_buffer_size);
virtual cairo_t* StartPage(const gfx::Size& page_size,
double margin_top_in_points,
« no previous file with comments | « printing/pdf_metafile_mac_unittest.cc ('k') | printing/pdf_ps_metafile_cairo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698