| 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 8b03de0c49235f0fcdf02669b4d5459f65cee994..1fee1a719be267de1509bdc51e9b44dc880d9b5b 100644
|
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| @@ -132,10 +132,6 @@
|
| #include "ui/events/keycodes/keyboard_codes_posix.h"
|
| #endif
|
|
|
| -#if defined(OS_MACOSX)
|
| -#include "printing/metafile_impl.h"
|
| -#endif // defined(OS_MACOSX)
|
| -
|
| #if defined(OS_WIN)
|
| #include "base/metrics/histogram.h"
|
| #include "base/win/windows_version.h"
|
| @@ -1950,9 +1946,6 @@ bool PepperPluginInstanceImpl::PrintPDFOutput(PP_Resource print_output,
|
|
|
| bool ret = false;
|
| #if defined(OS_POSIX) && !defined(OS_ANDROID)
|
| - // On Linux we just set the final bits in the native metafile
|
| - // (NativeMetafile and PreviewMetafile must have compatible formats,
|
| - // i.e. both PDF for this to work).
|
| printing::Metafile* metafile =
|
| printing::MetafileSkiaWrapper::GetMetafileFromCanvas(*canvas);
|
| DCHECK(metafile != NULL);
|
|
|