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

Unified Diff: core/fpdfapi/page/cpdf_pathobject.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 | « core/fpdfapi/page/cpdf_pathobject.h ('k') | core/fpdfapi/page/cpdf_shadingobject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/page/cpdf_pathobject.cpp
diff --git a/core/fpdfapi/page/cpdf_pathobject.cpp b/core/fpdfapi/page/cpdf_pathobject.cpp
index a25f7891a659749f3285bfbbbda4809468742cd8..27c4535fa54d891949b6651dc0cafae4a5200874 100644
--- a/core/fpdfapi/page/cpdf_pathobject.cpp
+++ b/core/fpdfapi/page/cpdf_pathobject.cpp
@@ -10,17 +10,6 @@ CPDF_PathObject::CPDF_PathObject() {}
CPDF_PathObject::~CPDF_PathObject() {}
-CPDF_PathObject* CPDF_PathObject::Clone() const {
- CPDF_PathObject* obj = new CPDF_PathObject;
- obj->CopyData(this);
-
- obj->m_Path = m_Path;
- obj->m_FillType = m_FillType;
- obj->m_bStroke = m_bStroke;
- obj->m_Matrix = m_Matrix;
- return obj;
-}
-
CPDF_PageObject::Type CPDF_PathObject::GetType() const {
return PATH;
}
« no previous file with comments | « core/fpdfapi/page/cpdf_pathobject.h ('k') | core/fpdfapi/page/cpdf_shadingobject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698