From 4a551f5570b3d465bba5c77e499b33cf4a47501a Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 5 Jan 2017 19:12:43 -0800 Subject: Remove two unused members in cpdf_streamcontentparser. Review-Url: https://codereview.chromium.org/2617683003 --- core/fpdfapi/page/cpdf_streamcontentparser.cpp | 4 ---- core/fpdfapi/page/cpdf_streamcontentparser.h | 2 -- 2 files changed, 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; -- cgit v1.2.3