| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 1137c57bc474a4f7035f5f607351469d93e0a260..2928025959dce6609ac7c6d6ba68646bfe59c471 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -464,13 +464,7 @@ void GrDrawContext::drawRRect(const GrClip& clip,
|
| return;
|
| }
|
|
|
| - if (strokeInfo.isDashed()) {
|
| - SkPath path;
|
| - path.setIsVolatile(true);
|
| - path.addRRect(rrect);
|
| - this->drawPath(clip, paint, viewMatrix, path, strokeInfo);
|
| - return;
|
| - }
|
| + SkASSERT(!strokeInfo.isDashed()); // this should've been devolved to a path in SkGpuDevice
|
|
|
| AutoCheckFlush acf(fDrawingManager);
|
|
|
| @@ -543,13 +537,7 @@ void GrDrawContext::drawOval(const GrClip& clip,
|
| return;
|
| }
|
|
|
| - if (strokeInfo.isDashed()) {
|
| - SkPath path;
|
| - path.setIsVolatile(true);
|
| - path.addOval(oval);
|
| - this->drawPath(clip, paint, viewMatrix, path, strokeInfo);
|
| - return;
|
| - }
|
| + SkASSERT(!strokeInfo.isDashed()); // this should've been devolved to a path in SkGpuDevice
|
|
|
| AutoCheckFlush acf(fDrawingManager);
|
|
|
|
|