From a7ff4dc7c27c7940daec9cf740f4b7e7638a45ec Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 14 May 2018 20:13:40 +0000 Subject: Cleanup CPDF_Form parsing code 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 Commit-Queue: dsinclair --- fpdfsdk/cpdf_annotcontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/cpdf_annotcontext.cpp') diff --git a/fpdfsdk/cpdf_annotcontext.cpp b/fpdfsdk/cpdf_annotcontext.cpp index 20c5fc343e..4e01ed68b3 100644 --- a/fpdfsdk/cpdf_annotcontext.cpp +++ b/fpdfsdk/cpdf_annotcontext.cpp @@ -31,5 +31,5 @@ void CPDF_AnnotContext::SetForm(CPDF_Stream* pStream) { m_pAnnotForm = pdfium::MakeUnique( m_pPage->GetDocument(), m_pPage->m_pResources.Get(), pStream); - m_pAnnotForm->ParseContent(); + m_pAnnotForm->ParseContent(nullptr, nullptr, nullptr, nullptr); } -- cgit v1.2.3