| Index: third_party/WebKit/Source/core/layout/shapes/RasterShape.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/shapes/RasterShape.cpp b/third_party/WebKit/Source/core/layout/shapes/RasterShape.cpp
|
| index a4a1cc3beaec604c1c7a0bf4d057d05c79045160..c99355f452f685da7ba5c5e09271ca10fd08e692 100644
|
| --- a/third_party/WebKit/Source/core/layout/shapes/RasterShape.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/shapes/RasterShape.cpp
|
| @@ -157,8 +157,8 @@ LineSegment RasterShape::getExcludedInterval(LayoutUnit logicalTop, LayoutUnit l
|
| if (intervals.isEmpty())
|
| return LineSegment();
|
|
|
| - int y1 = logicalTop;
|
| - int y2 = logicalTop + logicalHeight;
|
| + int y1 = logicalTop.toInt();
|
| + int y2 = (logicalTop + logicalHeight).toInt();
|
| ASSERT(y2 >= y1);
|
| if (y2 < intervals.bounds().y() || y1 >= intervals.bounds().maxY())
|
| return LineSegment();
|
|
|