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

Unified Diff: core/fpdfapi/fpdf_parser/include/cpdf_object.h

Issue 2355593002: Remove CPDF_Object::Destroy { delete this; } (Closed)
Patch Set: Created 4 years, 3 months 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/fpdf_parser/cpdf_object.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/fpdf_parser/include/cpdf_object.h
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_object.h b/core/fpdfapi/fpdf_parser/include/cpdf_object.h
index 8d9bb0111984eda5c4b9c1be262a4dceea25b8a9..115ce022003b749e0607f2d7fd4c93585b1e71cf 100644
--- a/core/fpdfapi/fpdf_parser/include/cpdf_object.h
+++ b/core/fpdfapi/fpdf_parser/include/cpdf_object.h
@@ -95,7 +95,6 @@ class CPDF_Object {
CPDF_Object() : m_ObjNum(0), m_GenNum(0) {}
virtual ~CPDF_Object();
- void Destroy() { delete this; }
CPDF_Object* CloneObjectNonCyclic(bool bDirect) const;
« no previous file with comments | « core/fpdfapi/fpdf_parser/cpdf_object.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698