diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-05-14 20:13:40 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-14 20:13:40 +0000 |
commit | a7ff4dc7c27c7940daec9cf740f4b7e7638a45ec (patch) | |
tree | 92fb866dde19233d7129486c453f6362780ed11b /core/fpdfapi/page/cpdf_streamcontentparser.cpp | |
parent | 77c223be193b303b833053a757a2f1f2534da610 (diff) | |
download | pdfium-a7ff4dc7c27c7940daec9cf740f4b7e7638a45ec.tar.xz |
Cleanup CPDF_Form parsing codechromium/3431
This CL folds the StartParse() method of CPDF_Form into the
ParserContent method. The no arguments ParseContent is removed and
ParseContentWithParams renamed to ParseContent. The callsites are
updated to pass the nullptr's.
Bug: chromium:813349
Change-Id: I304b77aef1de1b9aa20e4a3044db5023f5701584
Reviewed-on: https://pdfium-review.googlesource.com/32511
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_streamcontentparser.cpp')
-rw-r--r-- | core/fpdfapi/page/cpdf_streamcontentparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.cpp b/core/fpdfapi/page/cpdf_streamcontentparser.cpp index df69aa43b9..5f4bdf794d 100644 --- a/core/fpdfapi/page/cpdf_streamcontentparser.cpp +++ b/core/fpdfapi/page/cpdf_streamcontentparser.cpp @@ -781,7 +781,7 @@ void CPDF_StreamContentParser::AddForm(CPDF_Stream* pStream) { status.m_TextState = m_pCurStates->m_TextState; auto form = pdfium::MakeUnique<CPDF_Form>( m_pDocument.Get(), m_pPageResources.Get(), pStream, m_pResources.Get()); - form->ParseContentWithParams(&status, nullptr, nullptr, m_ParsedSet.Get()); + form->ParseContent(&status, nullptr, nullptr, m_ParsedSet.Get()); CFX_Matrix matrix = m_pCurStates->m_CTM; matrix.Concat(m_mtContentToUser); |