| Index: src/gpu/GrPathRenderer.h
|
| diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h
|
| index a64b9e34444b10b23911ceea20607faec2f41dc1..27fbb3d76a1ed3cfe1add21e2a8b0639d3e21f89 100644
|
| --- a/src/gpu/GrPathRenderer.h
|
| +++ b/src/gpu/GrPathRenderer.h
|
| @@ -84,7 +84,7 @@ public:
|
| StencilSupport getStencilSupport(const SkPath& path,
|
| const SkStrokeRec& stroke,
|
| const GrDrawTarget* target) const {
|
| - GrAssert(!path.isInverseFillType());
|
| + SkASSERT(!path.isInverseFillType());
|
| return this->onGetStencilSupport(path, stroke, target);
|
| }
|
|
|
| @@ -117,9 +117,9 @@ public:
|
| const SkStrokeRec& stroke,
|
| GrDrawTarget* target,
|
| bool antiAlias) {
|
| - GrAssert(!path.isEmpty());
|
| - GrAssert(this->canDrawPath(path, stroke, target, antiAlias));
|
| - GrAssert(target->drawState()->getStencil().isDisabled() ||
|
| + SkASSERT(!path.isEmpty());
|
| + SkASSERT(this->canDrawPath(path, stroke, target, antiAlias));
|
| + SkASSERT(target->drawState()->getStencil().isDisabled() ||
|
| kNoRestriction_StencilSupport == this->getStencilSupport(path, stroke, target));
|
| return this->onDrawPath(path, stroke, target, antiAlias);
|
| }
|
| @@ -133,8 +133,8 @@ public:
|
| * @param target target that the path will be rendered to
|
| */
|
| void stencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) {
|
| - GrAssert(!path.isEmpty());
|
| - GrAssert(kNoSupport_StencilSupport != this->getStencilSupport(path, stroke, target));
|
| + SkASSERT(!path.isEmpty());
|
| + SkASSERT(kNoSupport_StencilSupport != this->getStencilSupport(path, stroke, target));
|
| this->onStencilPath(path, stroke, target);
|
| }
|
|
|
|
|