diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-05 16:33:12 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-05 16:33:12 -0800 |
commit | 62664cee15230d6cbe08ed010721a4557b36dc22 (patch) | |
tree | 2baf5570b23f51e082f3ab3e8de88d8538043ae3 /core/include/fpdfapi/fpdf_parser.h | |
parent | 6ba32d9e65ef5d40d357876f9457e228a5fab308 (diff) | |
download | pdfium-62664cee15230d6cbe08ed010721a4557b36dc22.tar.xz |
Merge to XFA: Fix a few uses of default arguments.
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1555293002 .
(cherry picked from commit dbfaa8d11404a53b4807b3dbd0185047367bbff6)
Review URL: https://codereview.chromium.org/1565603002 .
Diffstat (limited to 'core/include/fpdfapi/fpdf_parser.h')
-rw-r--r-- | core/include/fpdfapi/fpdf_parser.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h index 4153b1d1f2..bcb35b0ad6 100644 --- a/core/include/fpdfapi/fpdf_parser.h +++ b/core/include/fpdfapi/fpdf_parser.h @@ -245,13 +245,13 @@ class CPDF_SyntaxParser { CPDF_Object* GetObject(CPDF_IndirectObjects* pObjList, FX_DWORD objnum, FX_DWORD gennum, - struct PARSE_CONTEXT* pContext = NULL, - FX_BOOL bDecrypt = TRUE); + PARSE_CONTEXT* pContext, + FX_BOOL bDecrypt); CPDF_Object* GetObjectByStrict(CPDF_IndirectObjects* pObjList, FX_DWORD objnum, FX_DWORD gennum, - struct PARSE_CONTEXT* pContext = NULL); + PARSE_CONTEXT* pContext); int GetDirectNum(); @@ -425,12 +425,12 @@ class CPDF_Parser { CPDF_Object* ParseIndirectObjectAt(CPDF_IndirectObjects* pObjList, FX_FILESIZE pos, FX_DWORD objnum, - struct PARSE_CONTEXT* pContext); + PARSE_CONTEXT* pContext); CPDF_Object* ParseIndirectObjectAtByStrict(CPDF_IndirectObjects* pObjList, FX_FILESIZE pos, FX_DWORD objnum, - struct PARSE_CONTEXT* pContext, + PARSE_CONTEXT* pContext, FX_FILESIZE* pResultPos); FX_DWORD StartAsynParse(IFX_FileRead* pFile, @@ -840,7 +840,7 @@ FX_DWORD RunLengthDecode(const uint8_t* src_buf, FX_DWORD src_size, uint8_t*& dest_buf, FX_DWORD& dest_size); -FX_BOOL IsSignatureDict(const CPDF_Dictionary* pDict); +bool IsSignatureDict(const CPDF_Dictionary* pDict); class CPDF_NumberTree { public: |