Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index b10aa3cfbf96468de8bd7d24244edf8eb121ba65..82197ab657a5c45b5e1a96dea403ab5bf78324c5 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -92,8 +92,8 @@ |
#include "ppapi/shared_impl/var.h" |
#include "ppapi/thunk/enter.h" |
#include "ppapi/thunk/ppb_buffer_api.h" |
-#include "printing/metafile.h" |
#include "printing/metafile_skia_wrapper.h" |
+#include "printing/pdf_metafile_skia.h" |
#include "printing/units.h" |
#include "skia/ext/platform_canvas.h" |
#include "skia/ext/platform_device.h" |
@@ -1973,13 +1973,13 @@ bool PepperPluginInstanceImpl::PrintPDFOutput(PP_Resource print_output, |
bool ret = false; |
#if defined(OS_POSIX) && !defined(OS_ANDROID) |
- printing::Metafile* metafile = |
+ printing::PdfMetafileSkia* metafile = |
printing::MetafileSkiaWrapper::GetMetafileFromCanvas(*canvas); |
DCHECK(metafile != NULL); |
if (metafile) |
ret = metafile->InitFromData(mapper.data(), mapper.size()); |
#elif defined(OS_WIN) |
- printing::Metafile* metafile = |
+ printing::PdfMetafileSkia* metafile = |
printing::MetafileSkiaWrapper::GetMetafileFromCanvas(*canvas); |
if (metafile) { |
// We only have a metafile when doing print preview, so we just want to |