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 c95d3fe63cb3b638c72f1484e57c4d967ecbd857..2c2fd29fcae5d0e0667fa3c2c7b51a2dca89baa0 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -1738,7 +1738,7 @@ bool PepperPluginInstanceImpl::PrintPDFOutput(PP_Resource print_output, |
#endif // defined(OS_WIN) |
bool ret = false; |
-#if defined(OS_LINUX) || defined(OS_MACOSX) |
+#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). |