diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-05 16:22:00 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-05 16:22:00 -0800 |
commit | dbfaa8d11404a53b4807b3dbd0185047367bbff6 (patch) | |
tree | cea79dca61123121b986650b604daea09e0dbae4 /core/include/fpdfapi/fpdf_objects.h | |
parent | cc3727f88e48f4d26a589131dc03adca4eaac301 (diff) | |
download | pdfium-dbfaa8d11404a53b4807b3dbd0185047367bbff6.tar.xz |
Fix a few uses of default arguments.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1555293002 .
Diffstat (limited to 'core/include/fpdfapi/fpdf_objects.h')
-rw-r--r-- | core/include/fpdfapi/fpdf_objects.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h index e80801c507..a9a27c74a1 100644 --- a/core/include/fpdfapi/fpdf_objects.h +++ b/core/include/fpdfapi/fpdf_objects.h @@ -28,6 +28,7 @@ class CPDF_StreamAcc; class CPDF_StreamFilter; class CPDF_String; class IFX_FileRead; +struct PARSE_CONTEXT; #define PDFOBJ_INVALID 0 #define PDFOBJ_BOOLEAN 1 @@ -120,7 +121,7 @@ class CPDF_Object { ~CPDF_Object() {} void Destroy(); - static const int OBJECT_REF_MAX_DEPTH = 128; + static const int kObjectRefMaxDepth = 128; static int s_nCurRefDepth; FX_DWORD m_Type; FX_DWORD m_ObjNum; @@ -573,8 +574,7 @@ class CPDF_IndirectObjects { ~CPDF_IndirectObjects(); - CPDF_Object* GetIndirectObject(FX_DWORD objnum, - struct PARSE_CONTEXT* pContext = NULL); + CPDF_Object* GetIndirectObject(FX_DWORD objnum, PARSE_CONTEXT* pContext); int GetIndirectType(FX_DWORD objnum); |