summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2017-01-05 19:12:43 -0800
committerCommit bot <commit-bot@chromium.org>2017-01-05 19:12:43 -0800
commit4a551f5570b3d465bba5c77e499b33cf4a47501a (patch)
tree6b32d7aa623e16eecbdd34a5a7dd9dfcdefbaf13 /core
parent2a998ad24232be4913265f542d6da06afd2e7000 (diff)
downloadpdfium-4a551f5570b3d465bba5c77e499b33cf4a47501a.tar.xz
Remove two unused members in cpdf_streamcontentparser.
Review-Url: https://codereview.chromium.org/2617683003
Diffstat (limited to 'core')
-rw-r--r--core/fpdfapi/page/cpdf_streamcontentparser.cpp4
-rw-r--r--core/fpdfapi/page/cpdf_streamcontentparser.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.cpp b/core/fpdfapi/page/cpdf_streamcontentparser.cpp
index 45a468f7a6..141442bb28 100644
--- a/core/fpdfapi/page/cpdf_streamcontentparser.cpp
+++ b/core/fpdfapi/page/cpdf_streamcontentparser.cpp
@@ -269,8 +269,6 @@ CPDF_StreamContentParser::CPDF_StreamContentParser(
m_PathCurrentY(0.0f),
m_PathClipType(0),
m_pLastImage(nullptr),
- m_pLastImageDict(nullptr),
- m_pLastCloneImageDict(nullptr),
m_bColored(false),
m_bResourceMissing(false) {
if (pmtContentToUser)
@@ -297,8 +295,6 @@ CPDF_StreamContentParser::CPDF_StreamContentParser(
CPDF_StreamContentParser::~CPDF_StreamContentParser() {
ClearAllParams();
FX_Free(m_pPathPoints);
- delete m_pLastImageDict;
- delete m_pLastCloneImageDict;
}
int CPDF_StreamContentParser::GetNextParamPos() {
diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.h b/core/fpdfapi/page/cpdf_streamcontentparser.h
index dfb5230809..6429b02bbd 100644
--- a/core/fpdfapi/page/cpdf_streamcontentparser.h
+++ b/core/fpdfapi/page/cpdf_streamcontentparser.h
@@ -216,8 +216,6 @@ class CPDF_StreamContentParser {
uint8_t m_PathClipType;
CFX_ByteString m_LastImageName;
CPDF_Image* m_pLastImage;
- CPDF_Dictionary* m_pLastImageDict;
- CPDF_Dictionary* m_pLastCloneImageDict;
bool m_bColored;
FX_FLOAT m_Type3Data[6];
bool m_bResourceMissing;