summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/src/animator/SkAnimateSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/src/animator/SkAnimateSet.cpp')
-rw-r--r--chromium/third_party/skia/src/animator/SkAnimateSet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/skia/src/animator/SkAnimateSet.cpp b/chromium/third_party/skia/src/animator/SkAnimateSet.cpp
index f153b16bbd9..d146118e89b 100644
--- a/chromium/third_party/skia/src/animator/SkAnimateSet.cpp
+++ b/chromium/third_party/skia/src/animator/SkAnimateSet.cpp
@@ -62,7 +62,7 @@ void SkSet::onEndElement(SkAnimateMaker& maker) {
fReset = dur != 1;
SkDisplayTypes outType = fFieldInfo->getType();
int comps = outType == SkType_String || outType == SkType_DynamicString ? 1 :
- fFieldInfo->getSize((const SkDisplayable*) fTarget) / sizeof(int);
+ (int)fFieldInfo->getSize((const SkDisplayable*) fTarget) / sizeof(int);
if (fValues.getType() == SkType_Unknown) {
fValues.setType(outType);
fValues.setCount(comps);