diff options
author | Lei Zhang <thestig@chromium.org> | 2017-08-28 18:09:38 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-31 15:35:08 +0000 |
commit | af59cf16b40b6243a2194ced3e5f476ec655edb3 (patch) | |
tree | b88fac856dd70edb25d21e14b61b434f5e17cefa /core/fpdfapi/page/cpdf_streamcontentparser.cpp | |
parent | d120920fe18bcfa3c102ecd0c7502c00d5f0425a (diff) | |
download | pdfium-af59cf16b40b6243a2194ced3e5f476ec655edb3.tar.xz |
Change CPDF_Form::ParseContent() to ParseContentWithParams().
Add a new ParseContent() method as a convenience to call
ParseContentWithParams() with the default parameters.
Change-Id: I274682845a72e125c3fc6299289edb760104ac4d
Reviewed-on: https://pdfium-review.googlesource.com/12250
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_streamcontentparser.cpp')
-rw-r--r-- | core/fpdfapi/page/cpdf_streamcontentparser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.cpp b/core/fpdfapi/page/cpdf_streamcontentparser.cpp index a6af91d9ff..7bd6b50123 100644 --- a/core/fpdfapi/page/cpdf_streamcontentparser.cpp +++ b/core/fpdfapi/page/cpdf_streamcontentparser.cpp @@ -775,7 +775,8 @@ void CPDF_StreamContentParser::AddForm(CPDF_Stream* pStream) { status.m_GraphState = m_pCurStates->m_GraphState; status.m_ColorState = m_pCurStates->m_ColorState; status.m_TextState = m_pCurStates->m_TextState; - pFormObj->m_pForm->ParseContent(&status, nullptr, nullptr, m_Level + 1); + pFormObj->m_pForm->ParseContentWithParams(&status, nullptr, nullptr, + m_Level + 1); if (!m_pObjectHolder->BackgroundAlphaNeeded() && pFormObj->m_pForm->BackgroundAlphaNeeded()) { m_pObjectHolder->SetBackgroundAlphaNeeded(true); |