summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_clippath.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-27 18:35:06 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-27 18:35:06 +0000
commit2d950563beb291441c0e1c90cfde8227f7025327 (patch)
treef8b04259830c23510cb79b282b39a14098d32984 /core/fpdfapi/page/cpdf_clippath.h
parentf351ba03ebf31103c0a6a0c00b1477d39c060139 (diff)
downloadpdfium-2d950563beb291441c0e1c90cfde8227f7025327.tar.xz
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 <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_clippath.h')
-rw-r--r--core/fpdfapi/page/cpdf_clippath.h4
1 files changed, 2 insertions, 2 deletions
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);