diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-13 11:42:32 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-13 11:42:32 -0800 |
commit | 2fa5c7a8b6602bb2fe1df7cd09b12de666ca8a0a (patch) | |
tree | dbffdb61eaa3d16d90578540846770ee5ccac2bf /core/src/fpdfapi/fpdf_parser/parser_int.h | |
parent | 4bfa89e8197182854b067d35809df09540cd3f52 (diff) | |
download | pdfium-2fa5c7a8b6602bb2fe1df7cd09b12de666ca8a0a.tar.xz |
Use the compiler to type check DocAvailStatus return values.
R=jun_fang@foxitsoftware.com
Review URL: https://codereview.chromium.org/1575363007 .
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: |