diff options
Diffstat (limited to 'printing/image.cc')
-rw-r--r-- | printing/image.cc | 2 |
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); } |