diff options
author | fmalita <fmalita@chromium.org> | 2015-02-13 08:55:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-13 08:55:24 -0800 |
commit | f89f60f6972569a41fa737c786d238559027fede (patch) | |
tree | a6ce0bd1abd3fc5873f65af5413325f903b42960 /include | |
parent | 9a0808fd8e83128403285f391944850d908d7af0 (diff) |
[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
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkTDArray.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |