Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: include/core/SkTDArray.h

Issue 923583002: [SkSVGDevice] Full font family support (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: slightly less lame hash function Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/svg.gyp ('k') | src/svg/SkSVGDevice.cpp » ('j') | src/svg/SkSVGDevice.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTDArray.h
diff --git a/include/core/SkTDArray.h b/include/core/SkTDArray.h
index 08478c78515630f995c8528bb1f89b2f4c5cdc16..31a11c7f3ea0c9a23e8d4f45f97a8a597873eee9 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;
« no previous file with comments | « gyp/svg.gyp ('k') | src/svg/SkSVGDevice.cpp » ('j') | src/svg/SkSVGDevice.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698