diff options
author | Lei Zhang <thestig@chromium.org> | 2015-10-30 01:53:50 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-10-30 01:53:50 -0700 |
commit | d78704258f04d947d4f5fc2a7f8b44b57d456597 (patch) | |
tree | b6561f688e88f00b437eba6128c1b5129d813a7e /fpdfsdk/include | |
parent | 9dd9439d23d44d105db0950e33af0cc913a6cece (diff) | |
download | pdfium-d78704258f04d947d4f5fc2a7f8b44b57d456597.tar.xz |
Revert "Fix incorrect CPDFSDK_PageView::CountAnnots()."
This reverts commit 9dd9439d23d44d105db0950e33af0cc913a6cece.
BUG=536967
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1421583005 .
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r-- | fpdfsdk/include/fsdk_mgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h index 2c063ed5a8..fa2860aa00 100644 --- a/fpdfsdk/include/fsdk_mgr.h +++ b/fpdfsdk/include/fsdk_mgr.h @@ -308,7 +308,7 @@ class CPDFSDK_PageView final { CPDFSDK_Annot* AddAnnot(const FX_CHAR* lpSubType, CPDF_Dictionary* pDict); CPDFSDK_Annot* AddAnnot(CPDF_Annot* pPDFAnnot); FX_BOOL DeleteAnnot(CPDFSDK_Annot* pAnnot); - size_t CountAnnots() const; + int CountAnnots() const; CPDFSDK_Annot* GetAnnot(size_t nIndex); CPDFSDK_Annot* GetAnnotByDict(CPDF_Dictionary* pDict); CPDF_Page* GetPDFPage() { return m_page; } |