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

Unified Diff: core/fpdfapi/fpdf_parser/cpdf_object.cpp

Issue 2384883003: Remove CPDF_Object::Release() in favor of direct delete (Closed)
Patch Set: Remove ScopedDict typedefs Created 4 years, 2 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
Index: core/fpdfapi/fpdf_parser/cpdf_object.cpp
diff --git a/core/fpdfapi/fpdf_parser/cpdf_object.cpp b/core/fpdfapi/fpdf_parser/cpdf_object.cpp
index d74003112fe3fb94ec650ae589e085769bd58b5e..ea2e43a7b650e74d076d09edf752d26cfd35ce00 100644
--- a/core/fpdfapi/fpdf_parser/cpdf_object.cpp
+++ b/core/fpdfapi/fpdf_parser/cpdf_object.cpp
@@ -37,11 +37,6 @@ CPDF_Object* CPDF_Object::CloneNonCyclic(
return Clone();
}
-void CPDF_Object::Release() {
- CHECK(!m_ObjNum);
- delete this;
-}
-
CFX_ByteString CPDF_Object::GetString() const {
return CFX_ByteString();
}

Powered by Google App Engine
This is Rietveld 408576698