Index: core/fpdfapi/fpdf_page/fpdf_page_doc.cpp |
diff --git a/core/fpdfapi/fpdf_page/fpdf_page_doc.cpp b/core/fpdfapi/fpdf_page/fpdf_page_doc.cpp |
index f0c5302b95a66ae0c28099e60d588b37ce474d45..ae02cfb4a769305dd29c4f0779fd1656c8ece148 100644 |
--- a/core/fpdfapi/fpdf_page/fpdf_page_doc.cpp |
+++ b/core/fpdfapi/fpdf_page/fpdf_page_doc.cpp |
@@ -351,8 +351,7 @@ CPDF_Pattern* CPDF_DocPageData::GetPattern(CPDF_Object* pPatternObj, |
} |
CPDF_Pattern* pPattern = nullptr; |
if (bShading) { |
- pPattern = |
- new CPDF_ShadingPattern(m_pPDFDoc, pPatternObj, bShading, matrix); |
+ pPattern = new CPDF_ShadingPattern(m_pPDFDoc, pPatternObj, TRUE, matrix); |
} else { |
CPDF_Dictionary* pDict = pPatternObj ? pPatternObj->GetDict() : nullptr; |
if (pDict) { |