Index: printing/pdf_metafile_skia.cc |
diff --git a/printing/pdf_metafile_skia.cc b/printing/pdf_metafile_skia.cc |
index 3326a1d6d86e5cab3e8d5f49df49056257e14b44..31c8c741fd44e17912933d67edd945e9f2d2e273 100644 |
--- a/printing/pdf_metafile_skia.cc |
+++ b/printing/pdf_metafile_skia.cc |
@@ -192,7 +192,7 @@ bool PdfMetafileSkia::RenderPage(unsigned int page_number, |
} |
#endif |
-#if defined(OS_CHROMEOS) |
+#if defined(OS_CHROMEOS) || defined(OS_ANDROID) |
bool PdfMetafileSkia::SaveToFD(const base::FileDescriptor& fd) const { |
DCHECK_GT(data_->pdf_stream_.getOffset(), 0U); |