From f89f60f6972569a41fa737c786d238559027fede Mon Sep 17 00:00:00 2001 From: fmalita Date: Fri, 13 Feb 2015 08:55:24 -0800 Subject: [SkSVGDevice] Full font family support Use a family name iterator and list all names instead of just one returned by SkTypeface::getFamilyName(). R=reed@google.com,mtklein@google.com Review URL: https://codereview.chromium.org/923583002 --- include/core/SkTDArray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/core/SkTDArray.h b/include/core/SkTDArray.h index 08478c7851..31a11c7f3e 100644 --- a/include/core/SkTDArray.h +++ b/include/core/SkTDArray.h @@ -218,7 +218,7 @@ public: for (; iter < stop; iter++) { if (*iter == elem) { - return (int) (iter - fArray); + return SkToInt(iter - fArray); } } return -1; -- cgit v1.2.3