| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 9da4ea806ec813960187e0303d4aeef8153198fc..b017b50fea4fa6a8019ba0dee347337d4666d9c5 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -243,13 +243,8 @@ void GrDrawContext::drawRect(const GrClip& clip,
|
| RETURN_IF_ABANDONED
|
| SkDEBUGCODE(this->validate();)
|
|
|
| - if (strokeInfo && strokeInfo->isDashed()) {
|
| - SkPath path;
|
| - path.setIsVolatile(true);
|
| - path.addRect(rect);
|
| - this->drawPath(clip, paint, viewMatrix, path, *strokeInfo);
|
| - return;
|
| - }
|
| + // Dashing should've been devolved to a path in SkGpuDevice
|
| + SkASSERT(!strokeInfo || !strokeInfo->isDashed());
|
|
|
| AutoCheckFlush acf(fDrawingManager);
|
|
|
|
|