diff options
author | Lei Zhang <thestig@chromium.org> | 2017-11-22 20:05:32 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-22 20:05:32 +0000 |
commit | a27e55e1c8c04fa85e2132e98e92b42d1a084b1f (patch) | |
tree | 615b1f5d4aa301e37fde3886b3ff1a8d9b2f732c /core/fpdfapi/page/cpdf_contentmark.h | |
parent | e6dba0dcc2c399e92b2ed7029a5241726f38938f (diff) | |
download | pdfium-a27e55e1c8c04fa85e2132e98e92b42d1a084b1f.tar.xz |
Change CPDF_ContentMark to return size_t for counts.
Change-Id: I45468fa7944290fbbe3d2e67f884164ae8d84160
Reviewed-on: https://pdfium-review.googlesource.com/19171
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_contentmark.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_contentmark.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdfapi/page/cpdf_contentmark.h b/core/fpdfapi/page/cpdf_contentmark.h index f9a891017e..cb22737ca9 100644 --- a/core/fpdfapi/page/cpdf_contentmark.h +++ b/core/fpdfapi/page/cpdf_contentmark.h @@ -21,8 +21,8 @@ class CPDF_ContentMark { CPDF_ContentMark(const CPDF_ContentMark& that); ~CPDF_ContentMark(); - int CountItems() const; - const CPDF_ContentMarkItem& GetItem(int i) const; + size_t CountItems() const; + const CPDF_ContentMarkItem& GetItem(size_t i) const; void AddMark(const ByteString& name, CPDF_Dictionary* pDict, bool bDirect); void DeleteLastMark(); @@ -36,8 +36,8 @@ class CPDF_ContentMark { MarkData(const MarkData& src); ~MarkData(); - int CountItems() const; - const CPDF_ContentMarkItem& GetItem(int index) const; + size_t CountItems() const; + const CPDF_ContentMarkItem& GetItem(size_t index) const; void AddMark(const ByteString& name, CPDF_Dictionary* pDict, |