summaryrefslogtreecommitdiff
path: root/core/src/fxge/ge
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-07-22 13:33:43 -0700
committerLei Zhang <thestig@chromium.org>2015-07-22 13:33:43 -0700
commitb05f1fd710496dea44b001bb905fa1c16a39bb28 (patch)
tree43b7a7fac7b4ce08c287bfc03d09e5e1201e20d0 /core/src/fxge/ge
parent81698d1d14bcc9b04799c2bc47440e6d86629f18 (diff)
downloadpdfium-b05f1fd710496dea44b001bb905fa1c16a39bb28.tar.xz
Remove dead code found by Scythe.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1249643003 .
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 d15db7b43f..76c7cf429e 100644
--- a/core/src/fxge/ge/fx_ge_text.cpp
+++ b/core/src/fxge/ge/fx_ge_text.cpp
@@ -1069,7 +1069,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()
{
@@ -1088,7 +1087,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_