summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_clippath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_clippath.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_clippath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_clippath.cpp b/core/fpdfapi/page/cpdf_clippath.cpp
index 465a1c7997..cfcd9a1e64 100644
--- a/core/fpdfapi/page/cpdf_clippath.cpp
+++ b/core/fpdfapi/page/cpdf_clippath.cpp
@@ -123,7 +123,7 @@ CPDF_ClipPath::PathData::PathData(const PathData& that) {
m_TextList.resize(that.m_TextList.size());
for (size_t i = 0; i < that.m_TextList.size(); ++i) {
if (that.m_TextList[i])
- m_TextList[i].reset(that.m_TextList[i]->Clone());
+ m_TextList[i] = that.m_TextList[i]->Clone();
}
}