From f40380f454042c9783fe30260a0e3df8b32c5c92 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 12 Oct 2018 18:31:51 +0000 Subject: Rename CPDF_{Array,Dictionary}::GetCount() to size(). Make them compatible with pdfium::CollectionSize(). Change-Id: Ibef3b182e35a7eca7c656cf590462782de0cc157 Reviewed-on: https://pdfium-review.googlesource.com/c/43937 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- fpdfsdk/pwl/cpwl_icon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/pwl/cpwl_icon.cpp') diff --git a/fpdfsdk/pwl/cpwl_icon.cpp b/fpdfsdk/pwl/cpwl_icon.cpp index f0232c4ae4..407e866766 100644 --- a/fpdfsdk/pwl/cpwl_icon.cpp +++ b/fpdfsdk/pwl/cpwl_icon.cpp @@ -55,7 +55,7 @@ std::pair CPWL_Icon::GetIconPosition() { if (!pA) return {0.0f, 0.0f}; - size_t dwCount = pA->GetCount(); + size_t dwCount = pA->size(); return {dwCount > 0 ? pA->GetNumberAt(0) : 0.0f, dwCount > 1 ? pA->GetNumberAt(1) : 0.0f}; } -- cgit v1.2.3