diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-13 12:02:09 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-13 12:02:09 -0800 |
commit | 5da3cab4f2d9e97eb84483fc0ec13ead2a48e443 (patch) | |
tree | d3e31af684cad2a5b24d9fe8f1eec9800768a214 /core/src/fpdfapi/fpdf_parser/parser_int.h | |
parent | 2e535df617e1a3309a1725c143247302da18a728 (diff) | |
download | pdfium-5da3cab4f2d9e97eb84483fc0ec13ead2a48e443.tar.xz |
Merge to XFA: Use the compiler to type check DocAvailStatus return values.
TBR=jun_fang@foxitsoftware.com
Review URL: https://codereview.chromium.org/1575363007 .
(cherry picked from commit 2fa5c7a8b6602bb2fe1df7cd09b12de666ca8a0a)
Review URL: https://codereview.chromium.org/1585773002 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_parser/parser_int.h')
-rw-r--r-- | core/src/fpdfapi/fpdf_parser/parser_int.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/parser_int.h b/core/src/fpdfapi/fpdf_parser/parser_int.h index c7f240384f..70b5fcf870 100644 --- a/core/src/fpdfapi/fpdf_parser/parser_int.h +++ b/core/src/fpdfapi/fpdf_parser/parser_int.h @@ -29,7 +29,8 @@ class CPDF_HintTables { FX_FILESIZE& szPageStartPos, FX_FILESIZE& szPageLength, FX_DWORD& dwObjNum); - FX_BOOL CheckPage(int index, IFX_DownloadHints* pHints); + IPDF_DataAvail::DocAvailStatus CheckPage(int index, + IFX_DownloadHints* pHints); FX_BOOL LoadHintStream(CPDF_Stream* pHintStream); protected: |