| 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 d06f4811387612d388ed090fd6fcf85e573fd3ba..7b04d8cd3375139136db8654b8e5e67a247964c5 100644
|
| --- a/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp
|
| +++ b/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp
|
| @@ -71,12 +71,12 @@ CPDF_ShadingPattern::CPDF_ShadingPattern(CPDF_Document* pDoc,
|
| CPDF_Dictionary* pDict = m_pPatternObj->GetDict();
|
| ASSERT(pDict != NULL);
|
| m_Pattern2Form = pDict->GetMatrix(FX_BSTRC("Matrix"));
|
| - m_pShadingObj = ToStream(pDict->GetElementValue(FX_BSTRC("Shading")));
|
| + m_pShadingObj = pDict->GetElementValue(FX_BSTRC("Shading"));
|
| if (parentMatrix) {
|
| m_Pattern2Form.Concat(*parentMatrix);
|
| }
|
| } else {
|
| - m_pShadingObj = ToStream(pPatternObj);
|
| + m_pShadingObj = pPatternObj;
|
| }
|
| m_ShadingType = 0;
|
| m_pCS = NULL;
|
|
|