diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 20:11:24 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 20:11:24 +0000 |
commit | e8980a56e8dcc4657cd1304665c0c03ff44d20c2 (patch) | |
tree | d1c65e184609602981383b17ebaef868c99b499b /printing/image.cc | |
parent | 368ddad78d3f2eac1ea7a92cfb9716ecd0166279 (diff) | |
download | chromium_src-e8980a56e8dcc4657cd1304665c0c03ff44d20c2.zip chromium_src-e8980a56e8dcc4657cd1304665c0c03ff44d20c2.tar.gz chromium_src-e8980a56e8dcc4657cd1304665c0c03ff44d20c2.tar.bz2 |
Printing: Standardize on Metafile::Init, removing Emf::CreateFromData in the
process and any ifdefs needed for this.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3595016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61834 0039d316-1c4b-4281-b951-d872f2087c98
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 efa645d..51b5ea7 100644 --- a/printing/image.cc +++ b/printing/image.cc @@ -194,7 +194,7 @@ bool Image::LoadMetafile(const std::string& data) { DCHECK(!data.empty()); #if defined(OS_WIN) || defined(OS_MACOSX) NativeMetafile metafile; - metafile.CreateFromData(data.data(), data.size()); + metafile.Init(data.data(), data.size()); return LoadMetafile(metafile); #else NOTIMPLEMENTED(); |