diff options
author | Lei Zhang <thestig@chromium.org> | 2017-03-17 14:30:53 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-17 22:34:49 +0000 |
commit | 240fe6d79f234896a966ddce0b9a125776dc9171 (patch) | |
tree | 14817c838752ec66c6ab8ba3e7e8b8be2910dc1d /core/fpdfapi/page/cpdf_streamcontentparser.h | |
parent | ac6e2a059dbd74f6f9f1c216600496cfa5676387 (diff) | |
download | pdfium-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.h | 4 |
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; |