| Index: include/core/SkSize.h
|
| diff --git a/include/core/SkSize.h b/include/core/SkSize.h
|
| index 01c6e35083d2e44076d4afbed5160cc33abce777..7bc8c7165d7b629e7e2e99e83a296f3a9cf96c60 100644
|
| --- a/include/core/SkSize.h
|
| +++ b/include/core/SkSize.h
|
| @@ -90,19 +90,19 @@ struct SkSize : public SkTSize<SkScalar> {
|
|
|
| SkISize toRound() const {
|
| SkISize s;
|
| - s.set(SkScalarRound(fWidth), SkScalarRound(fHeight));
|
| + s.set(SkScalarRoundToInt(fWidth), SkScalarRoundToInt(fHeight));
|
| return s;
|
| }
|
|
|
| SkISize toCeil() const {
|
| SkISize s;
|
| - s.set(SkScalarCeil(fWidth), SkScalarCeil(fHeight));
|
| + s.set(SkScalarCeilToInt(fWidth), SkScalarCeilToInt(fHeight));
|
| return s;
|
| }
|
|
|
| SkISize toFloor() const {
|
| SkISize s;
|
| - s.set(SkScalarFloor(fWidth), SkScalarFloor(fHeight));
|
| + s.set(SkScalarFloorToInt(fWidth), SkScalarFloorToInt(fHeight));
|
| return s;
|
| }
|
| };
|
|
|