summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_parser/parser_int.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-13 11:42:32 -0800
committerLei Zhang <thestig@chromium.org>2016-01-13 11:42:32 -0800
commit2fa5c7a8b6602bb2fe1df7cd09b12de666ca8a0a (patch)
treedbffdb61eaa3d16d90578540846770ee5ccac2bf /core/src/fpdfapi/fpdf_parser/parser_int.h
parent4bfa89e8197182854b067d35809df09540cd3f52 (diff)
downloadpdfium-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.h3
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: