From 2d950563beb291441c0e1c90cfde8227f7025327 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 27 Nov 2017 18:35:06 +0000 Subject: Convert CPDF_ClipPath::Get{Path|Text}Count to size_t This CL updates the various call sites to use size_t instead of other types. Bug: pdfium:774 Change-Id: Id8b75728b61c0ca1b15bc815831c885d33374f7b Reviewed-on: https://pdfium-review.googlesource.com/19410 Commit-Queue: dsinclair Reviewed-by: Ryan Harrison Reviewed-by: Tom Sepez --- core/fpdfapi/page/cpdf_clippath.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fpdfapi/page/cpdf_clippath.h') diff --git a/core/fpdfapi/page/cpdf_clippath.h b/core/fpdfapi/page/cpdf_clippath.h index 740342f14b..89365a2d5a 100644 --- a/core/fpdfapi/page/cpdf_clippath.h +++ b/core/fpdfapi/page/cpdf_clippath.h @@ -33,10 +33,10 @@ class CPDF_ClipPath { } bool operator!=(const CPDF_ClipPath& that) const { return !(*this == that); } - uint32_t GetPathCount() const; + size_t GetPathCount() const; CPDF_Path GetPath(size_t i) const; uint8_t GetClipType(size_t i) const; - uint32_t GetTextCount() const; + size_t GetTextCount() const; CPDF_TextObject* GetText(size_t i) const; CFX_FloatRect GetClipBox() const; void AppendPath(CPDF_Path path, uint8_t type, bool bAutoMerge); -- cgit v1.2.3