summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_contentparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_contentparser.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_contentparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_contentparser.cpp b/core/fpdfapi/page/cpdf_contentparser.cpp
index 9e8f70ef18..c74a889ff6 100644
--- a/core/fpdfapi/page/cpdf_contentparser.cpp
+++ b/core/fpdfapi/page/cpdf_contentparser.cpp
@@ -168,7 +168,7 @@ CPDF_ContentParser::Stage CPDF_ContentParser::Parse() {
m_CurrentOffset += m_pParser->Parse(
m_StreamArray[m_CurrentStream]->GetData() + m_CurrentOffset,
m_StreamArray[m_CurrentStream]->GetSize() - m_CurrentOffset,
- PARSE_STEP_LIMIT);
+ PARSE_STEP_LIMIT, m_CurrentStream);
if (m_CurrentOffset >= m_StreamArray[m_CurrentStream]->GetSize()) {
m_CurrentOffset = 0;