| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 3b346b6efd302c68541db2a48701360f57aef9e0..5bda884655bf4b2fa0de24a8c77c4b62efbf67b0 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -1023,14 +1023,8 @@ void GrDrawContext::drawArc(const GrClip& clip,
|
| }
|
| }
|
| SkPath path;
|
| - path.setIsVolatile(true);
|
| - if (useCenter) {
|
| - path.moveTo(oval.centerX(), oval.centerY());
|
| - }
|
| - path.arcTo(oval, startAngle, sweepAngle, !useCenter);
|
| - if (useCenter) {
|
| - path.close();
|
| - }
|
| + SkPathPriv::CreateDrawArcPath(&path, oval, startAngle, sweepAngle, useCenter,
|
| + style.isSimpleFill());
|
| this->internalDrawPath(clip, paint, viewMatrix, path, style);
|
| return;
|
| }
|
|
|