diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 23:22:06 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 23:22:06 +0000 |
commit | 89eff96a76bce1e4db7208f911756c3720c0ce5b (patch) | |
tree | 230e807550a8110e06c005a897cf3a5977288a8c /webkit | |
parent | 3e737d0ea26703f67dc591086a9ace4678e74e9b (diff) | |
download | chromium_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 'webkit')
-rw-r--r-- | webkit/plugins/ppapi/ppapi_plugin_instance.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc index a198289..b0fa47e 100644 --- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc @@ -1096,7 +1096,7 @@ bool PluginInstance::PrintPDFOutput(PP_Resource print_output, scoped_ptr<printing::NativeMetafile> metafile( printing::NativeMetafileFactory::CreateMetafile()); // Create a PDF metafile and render from there into the passed in context. - if (metafile->Init(buffer->mapped_buffer(), buffer->size())) { + if (metafile->InitFromData(buffer->mapped_buffer(), buffer->size())) { // Flip the transform. CGContextSaveGState(canvas); CGContextTranslateCTM(canvas, 0, |