| Index: core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp
|
| diff --git a/core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp b/core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp
|
| index 3ace57063c24c9a783bbeea279ceae8b4f04c59a..0b1eeab9f4cb829ad1b3b82eb497d05df5031978 100644
|
| --- a/core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp
|
| +++ b/core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp
|
| @@ -13,13 +13,12 @@
|
|
|
| CPDF_TilingPattern::CPDF_TilingPattern(CPDF_Document* pDoc,
|
| CPDF_Object* pPatternObj,
|
| - const CFX_Matrix* parentMatrix)
|
| + const CFX_Matrix& parentMatrix)
|
| : CPDF_Pattern(TILING, pDoc, pPatternObj, parentMatrix) {
|
| CPDF_Dictionary* pDict = m_pPatternObj->GetDict();
|
| m_Pattern2Form = pDict->GetMatrixBy("Matrix");
|
| m_bColored = pDict->GetIntegerBy("PaintType") == 1;
|
| - if (parentMatrix)
|
| - m_Pattern2Form.Concat(*parentMatrix);
|
| + m_Pattern2Form.Concat(parentMatrix);
|
| }
|
|
|
| CPDF_TilingPattern::~CPDF_TilingPattern() {
|
|
|