diff options
Diffstat (limited to 'core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp')
-rw-r--r-- | core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp b/core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp index d869bc20b3..03dd22c134 100644 --- a/core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp +++ b/core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp @@ -35,10 +35,9 @@ CPDF_PageObject::Type CPDF_ShadingObject::GetType() const { } void CPDF_ShadingObject::Transform(const CFX_Matrix& matrix) { - if (m_ClipPath) { - m_ClipPath.GetPrivateCopy(); + if (m_ClipPath) m_ClipPath.Transform(matrix); - } + m_Matrix.Concat(matrix); if (m_ClipPath) { CalcBoundingBox(); |