Index: src/gpu/GrSoftwarePathRenderer.cpp |
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp |
index 983bd20cbe8a87743fcbc631cc5349b8b658fddf..45a4b78b18614dff6e2ebc6bde24a61c7ad4843c 100644 |
--- a/src/gpu/GrSoftwarePathRenderer.cpp |
+++ b/src/gpu/GrSoftwarePathRenderer.cpp |
@@ -38,8 +38,7 @@ bool get_shape_and_clip_bounds(int width, int height, |
*devShapeBounds = SkIRect::MakeWH(width, height); |
return false; |
} |
- SkRect shapeBounds; |
- shape.styledBounds(&shapeBounds); |
+ SkRect shapeBounds = shape.styledBounds(); |
if (!shapeBounds.isEmpty()) { |
SkRect shapeSBounds; |
matrix.mapRect(&shapeSBounds, shapeBounds); |