Index: core/fpdfapi/render/fpdf_render_image.cpp |
diff --git a/core/fpdfapi/render/fpdf_render_image.cpp b/core/fpdfapi/render/fpdf_render_image.cpp |
index 1133f67a9ae4d535ab5bd806b669e6c7fed485ae..560af06842d28a715a5b58490cb9b889938d6091 100644 |
--- a/core/fpdfapi/render/fpdf_render_image.cpp |
+++ b/core/fpdfapi/render/fpdf_render_image.cpp |
@@ -982,7 +982,8 @@ CFX_DIBitmap* CPDF_RenderStatus::LoadSMask(CPDF_Dictionary* pSMaskDict, |
int width = pClipRect->right - pClipRect->left; |
int height = pClipRect->bottom - pClipRect->top; |
FXDIB_Format format; |
-#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ || defined _SKIA_SUPPORT_ |
+#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ || defined _SKIA_SUPPORT_ || \ |
+ defined _SKIA_SUPPORT_PATHS_ |
format = bLuminosity ? FXDIB_Rgb32 : FXDIB_8bppMask; |
#else |
format = bLuminosity ? FXDIB_Rgb : FXDIB_8bppMask; |