Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index d536823a5a857971e72dcabeb2d2fb56ae521a11..9b3183f30daeb7b82b7ce57ff571aa8849a99e2e 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -104,7 +104,7 @@ |
*c = avg; |
} else { |
area *= 3; |
- area = SkScalarDiv(SK_Scalar1, area); |
+ area = SkScalarInvert(area); |
center.fX = SkScalarMul(center.fX, area); |
center.fY = SkScalarMul(center.fY, area); |
// undo the translate of p0 to the origin. |