summaryrefslogtreecommitdiff
path: root/core/src/fxge/ge
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-07-22 13:47:50 -0700
committerLei Zhang <thestig@chromium.org>2015-07-22 13:47:50 -0700
commitd07958fd2d1c4134d865f4ccb056eb925aaa7d2a (patch)
treef4f24d248f3554b361f233d68847e12e5ce2dc14 /core/src/fxge/ge
parent8a0a834d2aea61fc92590839b86471ac73daa967 (diff)
downloadpdfium-d07958fd2d1c4134d865f4ccb056eb925aaa7d2a.tar.xz
Merge to XFA: Remove dead code found by Scythe.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1249643003 . (cherry picked from commit b05f1fd710496dea44b001bb905fa1c16a39bb28) Review URL: https://codereview.chromium.org/1250433003 .
Diffstat (limited to 'core/src/fxge/ge')
-rw-r--r--core/src/fxge/ge/fx_ge_text.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/fxge/ge/fx_ge_text.cpp b/core/src/fxge/ge/fx_ge_text.cpp
index 8f6b8b2d3b..d211391d68 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_