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 310ebe8ffe7328c525d7220832c8949da55b27f4..45cc4ecc4626499259dd84e2475a81a5a49ccd3f 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -1725,7 +1725,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) && !defined(OS_NACL) |
// 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). |