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

Unified Diff: core/fpdfapi/fpdf_font/fpdf_font_cid.cpp

Issue 2292023003: Remove unused methods in CPDF_CMap (Closed)
Patch Set: Created 4 years, 4 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_font/font_int.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
diff --git a/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp b/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
index cfcac364b9591d00a67b7d28bae60839b0f0915d..d8cada7af31bbe6f077f83f96696693088a1fdab 100644
--- a/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
+++ b/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp
@@ -518,11 +518,6 @@ CPDF_CMap::~CPDF_CMap() {
FX_Free(m_pAddMapping);
FX_Free(m_pLeadingBytes);
}
-void CPDF_CMap::Release() {
- if (m_PredefinedCMap.IsEmpty()) {
- delete this;
- }
-}
FX_BOOL CPDF_CMap::IsLoaded() const {
return m_bLoaded;
« no previous file with comments | « core/fpdfapi/fpdf_font/font_int.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698