| Index: core/fpdfapi/fpdf_page/include/cpdf_path.h
|
| diff --git a/core/fpdfapi/fpdf_page/include/cpdf_path.h b/core/fpdfapi/fpdf_page/include/cpdf_path.h
|
| index 98de6960042098e5e635c0f7775837301b7002ce..33db4d755acef7fbdc28b6f9487343fd2068c594 100644
|
| --- a/core/fpdfapi/fpdf_page/include/cpdf_path.h
|
| +++ b/core/fpdfapi/fpdf_page/include/cpdf_path.h
|
| @@ -27,7 +27,8 @@ class CPDF_Path : public CFX_CountRef<CFX_PathData> {
|
|
|
| FX_BOOL IsRect() const { return GetObject()->IsRect(); }
|
| void Transform(const CFX_Matrix* pMatrix) {
|
| - GetPrivateCopy()->Transform(pMatrix);
|
| + MakePrivateCopy();
|
| + GetObject()->Transform(pMatrix);
|
| }
|
| void Append(const CPDF_Path& other, const CFX_Matrix* pMatrix) {
|
| GetObject()->Append(other.GetObject(), pMatrix);
|
|
|