diff options
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.cpp')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp index ef7fa9078e..4b0f363fee 100644 --- a/src/gpu/GrSoftwarePathRenderer.cpp +++ b/src/gpu/GrSoftwarePathRenderer.cpp @@ -52,11 +52,6 @@ static bool get_unclipped_shape_dev_bounds(const GrShape& shape, const SkMatrix& if (!shapeDevBounds.intersect(SkRect::MakeLTRB(INT32_MIN, INT32_MIN, kMaxInt, kMaxInt))) { return false; } - // Make sure that the resulting SkIRect can have representable width and height - if (SkScalarRoundToInt(shapeDevBounds.width()) > kMaxInt || - SkScalarRoundToInt(shapeDevBounds.height()) > kMaxInt) { - return false; - } shapeDevBounds.roundOut(devBounds); return true; } |