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

Unified Diff: printing/native_metafile.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/image.cc ('k') | printing/pdf_metafile_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/native_metafile.h
diff --git a/printing/native_metafile.h b/printing/native_metafile.h
index 65f9f4c85863d2e2cad06cbd05b05a2c32c35ab2..a076b32aa6e1f9fc53627c8b6f8c06f597f56d78 100644
--- a/printing/native_metafile.h
+++ b/printing/native_metafile.h
@@ -48,7 +48,7 @@ class NativeMetafile {
// Initializes the metafile with the data in |src_buffer|. Returns true
// on success.
// Note: It should only be called from within the browser process.
- virtual bool Init(const void* src_buffer, uint32 src_buffer_size) = 0;
+ virtual bool InitFromData(const void* src_buffer, uint32 src_buffer_size) = 0;
#if defined(OS_WIN)
// Inserts a custom GDICOMMENT records indicating StartPage/EndPage calls
« no previous file with comments | « printing/image.cc ('k') | printing/pdf_metafile_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698