Index: src/utils/SkPDFRasterizer.cpp |
diff --git a/src/utils/SkPDFRasterizer.cpp b/src/utils/SkPDFRasterizer.cpp |
index a3b4cb4a53eef8015d5a6869ff60a9bbb7a7e96f..267c803ca5e92b041ce8b4e89e7f284411dabb7b 100644 |
--- a/src/utils/SkPDFRasterizer.cpp |
+++ b/src/utils/SkPDFRasterizer.cpp |
@@ -18,6 +18,7 @@ |
#include "SkPDFRasterizer.h" |
#include "SkColorPriv.h" |
+#include "SkPdfRenderer.h" |
bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output) { |
size_t size = pdf->getLength(); |
@@ -71,3 +72,7 @@ bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output) { |
return true; |
} |
+ |
+bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output) { |
+ return SkPDFNativeRenderToBitmap(pdf, output); |
+} |