| Index: core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp
|
| diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp
|
| index c7c1e7a5650ccd979e4754e85df2e54199283994..bcb81966622b830eb4ff10f6f08dd074e4324c2a 100644
|
| --- a/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp
|
| +++ b/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp
|
| @@ -8,19 +8,14 @@
|
| #include "pageint.h"
|
|
|
| CPDF_Pattern::CPDF_Pattern(const CFX_AffineMatrix* pParentMatrix) :
|
| - m_pPatternObj(NULL), m_PatternType(PATTERN_TILING), m_pDocument(NULL), m_pColor(NULL)
|
| + m_pPatternObj(NULL), m_PatternType(PATTERN_TILING), m_pDocument(NULL)
|
| {
|
| if (pParentMatrix) {
|
| m_ParentMatrix = *pParentMatrix;
|
| }
|
| }
|
| -
|
| CPDF_Pattern::~CPDF_Pattern()
|
| {
|
| - if (m_pColor) {
|
| - m_pColor->SetValue(NULL, NULL, 0);
|
| - m_pColor = NULL;
|
| - }
|
| }
|
| CPDF_TilingPattern::CPDF_TilingPattern(CPDF_Document* pDoc, CPDF_Object* pPatternObj, const CFX_AffineMatrix* parentMatrix) :
|
| CPDF_Pattern(parentMatrix)
|
|
|