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..e0ffa8c1dd2015c0f6a4c96b3488c577d8c6ff16 100644 |
--- a/core/fpdfapi/fpdf_page/include/cpdf_path.h |
+++ b/core/fpdfapi/fpdf_page/include/cpdf_path.h |
@@ -30,14 +30,14 @@ class CPDF_Path : public CFX_CountRef<CFX_PathData> { |
GetPrivateCopy()->Transform(pMatrix); |
} |
void Append(const CPDF_Path& other, const CFX_Matrix* pMatrix) { |
- GetObject()->Append(other.GetObject(), pMatrix); |
+ GetPrivateCopy()->Append(other.GetObject(), pMatrix); |
} |
void AppendRect(FX_FLOAT left, |
FX_FLOAT bottom, |
FX_FLOAT right, |
FX_FLOAT top) { |
- GetObject()->AppendRect(left, bottom, right, top); |
+ GetPrivateCopy()->AppendRect(left, bottom, right, top); |
} |
}; |