summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_form.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-28 18:09:38 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-31 15:35:08 +0000
commitaf59cf16b40b6243a2194ced3e5f476ec655edb3 (patch)
treeb88fac856dd70edb25d21e14b61b434f5e17cefa /core/fpdfapi/page/cpdf_form.h
parentd120920fe18bcfa3c102ecd0c7502c00d5f0425a (diff)
downloadpdfium-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_form.h')
-rw-r--r--core/fpdfapi/page/cpdf_form.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/fpdfapi/page/cpdf_form.h b/core/fpdfapi/page/cpdf_form.h
index 910f38fd08..2cce800f23 100644
--- a/core/fpdfapi/page/cpdf_form.h
+++ b/core/fpdfapi/page/cpdf_form.h
@@ -24,16 +24,17 @@ class CPDF_Form : public CPDF_PageObjectHolder {
CPDF_Dictionary* pParentResources = nullptr);
~CPDF_Form() override;
- void ParseContent(CPDF_AllStates* pGraphicStates,
- const CFX_Matrix* pParentMatrix,
- CPDF_Type3Char* pType3Char,
- int level = 0);
+ void ParseContent();
+ void ParseContentWithParams(CPDF_AllStates* pGraphicStates,
+ const CFX_Matrix* pParentMatrix,
+ CPDF_Type3Char* pType3Char,
+ int level);
private:
void StartParse(CPDF_AllStates* pGraphicStates,
const CFX_Matrix* pParentMatrix,
CPDF_Type3Char* pType3Char,
- int level = 0);
+ int level);
};
#endif // CORE_FPDFAPI_PAGE_CPDF_FORM_H_