Index: src/utils/SkPDFRasterizer.h |
diff --git a/src/utils/SkPDFRasterizer.h b/src/utils/SkPDFRasterizer.h |
index ebc9fa610cae4a7c409479693ea6386e7fae88ba..82ec09233ff879bb3465d7d22daa3a2728730698 100644 |
--- a/src/utils/SkPDFRasterizer.h |
+++ b/src/utils/SkPDFRasterizer.h |
@@ -10,7 +10,9 @@ |
#include "SkBitmap.h" |
#include "SkStream.h" |
+#ifdef SK_BUILD_POPPLER |
bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output); |
+#endif // SK_BUILD_POPPLER |
#ifdef SK_BUILD_NATIVE_PDF_RENDERER |
bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output); |