| Index: src/core/SkRegion_path.cpp
|
| diff --git a/src/core/SkRegion_path.cpp b/src/core/SkRegion_path.cpp
|
| index ec4d9f01a76c56f7825b7bb516470e0fef943e28..a20647c9663da3f6f53e3d99cd3217a4d8e6d7c9 100644
|
| --- a/src/core/SkRegion_path.cpp
|
| +++ b/src/core/SkRegion_path.cpp
|
| @@ -290,8 +290,8 @@ static int count_path_runtype_values(const SkPath& path, int* itop, int* ibot) {
|
| }
|
| SkASSERT(top <= bot);
|
|
|
| - *itop = SkScalarRound(top);
|
| - *ibot = SkScalarRound(bot);
|
| + *itop = SkScalarRoundToInt(top);
|
| + *ibot = SkScalarRoundToInt(bot);
|
| return maxEdges;
|
| }
|
|
|
|
|