summaryrefslogtreecommitdiffstats
path: root/printing/native_metafile.h
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-17 23:22:06 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-17 23:22:06 +0000
commit89eff96a76bce1e4db7208f911756c3720c0ce5b (patch)
tree230e807550a8110e06c005a897cf3a5977288a8c /printing/native_metafile.h
parent3e737d0ea26703f67dc591086a9ace4678e74e9b (diff)
downloadchromium_src-89eff96a76bce1e4db7208f911756c3720c0ce5b.zip
chromium_src-89eff96a76bce1e4db7208f911756c3720c0ce5b.tar.gz
chromium_src-89eff96a76bce1e4db7208f911756c3720c0ce5b.tar.bz2
Stop overloading Init() in NativeMetafile.
BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6709009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/native_metafile.h')
-rw-r--r--printing/native_metafile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/native_metafile.h b/printing/native_metafile.h
index 65f9f4c..a076b32 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