| Index: core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp
|
| diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp
|
| index 20f0c39c2573de353f9ebf4c4f166ec77b3405ec..02e3617feb2a83789c5890517d28ed8f09dbb6f2 100644
|
| --- a/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp
|
| +++ b/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp
|
| @@ -853,7 +853,7 @@ void CPDF_ContentParser::Continue(IFX_Pause* pPause) {
|
| continue;
|
| }
|
| CPDF_Path ClipPath = pObj->m_ClipPath.GetPath(0);
|
| - if (!ClipPath.IsRect() || pObj->m_Type == CPDF_PageObject::SHADING) {
|
| + if (!ClipPath.IsRect() || pObj->IsShading()) {
|
| continue;
|
| }
|
| CFX_FloatRect old_rect(ClipPath.GetPointX(0), ClipPath.GetPointY(0),
|
|
|