summaryrefslogtreecommitdiffstats
path: root/printing/image.cc
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/image.cc
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/image.cc')
-rw-r--r--printing/image.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/image.cc b/printing/image.cc
index a99e307..7c2d8d2 100644
--- a/printing/image.cc
+++ b/printing/image.cc
@@ -148,7 +148,7 @@ bool Image::LoadMetafile(const std::string& data) {
DCHECK(!data.empty());
scoped_ptr<NativeMetafile> metafile(
printing::NativeMetafileFactory::CreateMetafile());
- metafile->Init(data.data(), data.size());
+ metafile->InitFromData(data.data(), data.size());
return LoadMetafile(*metafile);
}