| Index: src/core/SkScan_AntiPath.cpp
|
| diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp
|
| index 22bca7a55cf6453a0707e6f7adb21ee065db8dd2..06365c1b93374f3d3ade31cc81735a0b12ad0bc3 100644
|
| --- a/src/core/SkScan_AntiPath.cpp
|
| +++ b/src/core/SkScan_AntiPath.cpp
|
| @@ -703,8 +703,10 @@ void SkScan::AntiFillPath(const SkPath& path, const SkRegion& origClip,
|
| SkIRect superRect, *superClipRect = nullptr;
|
|
|
| if (clipRect) {
|
| - superRect.set( clipRect->fLeft << SHIFT, clipRect->fTop << SHIFT,
|
| - clipRect->fRight << SHIFT, clipRect->fBottom << SHIFT);
|
| + superRect.set(SkLeftShift(clipRect->fLeft, SHIFT),
|
| + SkLeftShift(clipRect->fTop, SHIFT),
|
| + SkLeftShift(clipRect->fRight, SHIFT),
|
| + SkLeftShift(clipRect->fBottom, SHIFT));
|
| superClipRect = &superRect;
|
| }
|
|
|
|
|