Index: core/fpdfapi/fpdf_page/cpdf_pageobject.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_pageobject.cpp b/core/fpdfapi/fpdf_page/cpdf_pageobject.cpp |
index 31d3823891e73fd62244973142b5975aabb55fac..238675cb1c5966f2f805bb10b2a83f63029c10ce 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_pageobject.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_pageobject.cpp |
@@ -79,17 +79,15 @@ void CPDF_PageObject::CopyData(const CPDF_PageObject* pSrc) { |
} |
void CPDF_PageObject::TransformClipPath(CFX_Matrix& matrix) { |
- if (m_ClipPath.IsNull()) { |
+ if (!m_ClipPath) |
return; |
- } |
m_ClipPath.GetModify(); |
m_ClipPath.Transform(matrix); |
} |
void CPDF_PageObject::TransformGeneralState(CFX_Matrix& matrix) { |
- if (m_GeneralState.IsNull()) { |
+ if (!m_GeneralState) |
return; |
- } |
CPDF_GeneralStateData* pGS = m_GeneralState.GetModify(); |
pGS->m_Matrix.Concat(matrix); |
} |