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

Unified Diff: core/src/fxge/ge/fx_ge_text.cpp

Issue 1250433003: Merge to XFA: Remove dead code found by Scythe. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@xfa
Patch Set: Created 5 years, 5 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/src/fxge/dib/fx_dib_composite.cpp ('k') | fpdfsdk/include/formfiller/FFL_FormFiller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxge/ge/fx_ge_text.cpp
diff --git a/core/src/fxge/ge/fx_ge_text.cpp b/core/src/fxge/ge/fx_ge_text.cpp
index 8f6b8b2d3bb0a36f26d68d23b57297a9e4dba344..d211391d68300ba0ed215364cb3c34b4e989f5c3 100644
--- a/core/src/fxge/ge/fx_ge_text.cpp
+++ b/core/src/fxge/ge/fx_ge_text.cpp
@@ -1033,7 +1033,6 @@ void CFX_FontCache::FreeCache(FX_BOOL bRelease)
CFX_FaceCache::CFX_FaceCache(FXFT_Face face)
{
m_Face = face;
- m_pBitmap = NULL;
}
CFX_FaceCache::~CFX_FaceCache()
{
@@ -1052,7 +1051,6 @@ CFX_FaceCache::~CFX_FaceCache()
m_PathMap.GetNextAssoc(pos, key1, (void*&)pPath);
delete pPath;
}
- delete m_pBitmap;
m_PathMap.RemoveAll();
}
#if _FXM_PLATFORM_ != _FXM_PLATFORM_APPLE_
« no previous file with comments | « core/src/fxge/dib/fx_dib_composite.cpp ('k') | fpdfsdk/include/formfiller/FFL_FormFiller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698