Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1231)

Unified Diff: core/fpdfapi/page/cpdf_clippath.cpp

Issue 2517163003: Use more unique_ptrs in CPDF_Image. (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/fpdfapi/page/cpdf_form.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/page/cpdf_clippath.cpp
diff --git a/core/fpdfapi/page/cpdf_clippath.cpp b/core/fpdfapi/page/cpdf_clippath.cpp
index 465a1c7997a0d3d6a9e7f811f0caa85cc3f3ed67..cfcd9a1e643ca85624f6b433205342233a4ab02b 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();
}
}
« no previous file with comments | « no previous file | core/fpdfapi/page/cpdf_form.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698