Index: src/animator/SkSnapshot.cpp |
diff --git a/src/animator/SkSnapshot.cpp b/src/animator/SkSnapshot.cpp |
index 493ce2b3e65a04c7b2610e582fe9ac2354b49593..6f818a627d7e19f364c8c84d0229705ec50a6721 100644 |
--- a/src/animator/SkSnapshot.cpp |
+++ b/src/animator/SkSnapshot.cpp |
@@ -62,6 +62,6 @@ bool SkSnapshot::draw(SkAnimateMaker& maker) { |
name.append(".png"); |
encoder->encodeFile(name.c_str(), |
maker.fCanvas->getDevice()->accessBitmap(false), |
- SkScalarFloor(quality)); |
+ SkScalarFloorToInt(quality)); |
return false; |
} |