Index: printing/metafile_impl.h |
diff --git a/printing/metafile_impl.h b/printing/metafile_impl.h |
index 840a1cede68ccad26eac75303d9ffedf1fcd7b17..9fb2307131d2f7f01f61a197375a1272220fe898 100644 |
--- a/printing/metafile_impl.h |
+++ b/printing/metafile_impl.h |
@@ -13,10 +13,10 @@ |
namespace printing { |
-#if defined(OS_WIN) |
+#if defined(OS_WIN) && !defined(WIN_PDF_METAFILE_FOR_PRINTING) |
typedef Emf NativeMetafile; |
typedef PdfMetafileSkia PreviewMetafile; |
-#elif defined(OS_POSIX) |
+#else |
typedef PdfMetafileSkia NativeMetafile; |
typedef PdfMetafileSkia PreviewMetafile; |
#endif |