summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_streamcontentparser.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-03-17 14:30:53 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-03-17 22:34:49 +0000
commit240fe6d79f234896a966ddce0b9a125776dc9171 (patch)
tree14817c838752ec66c6ab8ba3e7e8b8be2910dc1d /core/fpdfapi/page/cpdf_streamcontentparser.h
parentac6e2a059dbd74f6f9f1c216600496cfa5676387 (diff)
downloadpdfium-240fe6d79f234896a966ddce0b9a125776dc9171.tar.xz
Use std::vector in CPDF_StreamContentParser.
Change-Id: I2e1bc6cd8ba45fef2bde55bcc3f0c19947d46ed5 Reviewed-on: https://pdfium-review.googlesource.com/3111 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_streamcontentparser.h')
-rw-r--r--core/fpdfapi/page/cpdf_streamcontentparser.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.h b/core/fpdfapi/page/cpdf_streamcontentparser.h
index 6cfc2731a9..2eac3c22c6 100644
--- a/core/fpdfapi/page/cpdf_streamcontentparser.h
+++ b/core/fpdfapi/page/cpdf_streamcontentparser.h
@@ -204,9 +204,7 @@ class CPDF_StreamContentParser {
std::vector<std::unique_ptr<CPDF_TextObject>> m_ClipTextList;
CPDF_TextObject* m_pLastTextObject;
float m_DefFontSize;
- FX_PATHPOINT* m_pPathPoints;
- int m_PathPointCount;
- int m_PathAllocSize;
+ std::vector<FX_PATHPOINT> m_PathPoints;
float m_PathStartX;
float m_PathStartY;
float m_PathCurrentX;