diff --git a/src/gpu/ops/GrOvalOpFactory.cpp b/src/gpu/ops/GrOvalOpFactory.cpp index 74edfef30a..37b93ae478 100644 --- a/src/gpu/ops/GrOvalOpFactory.cpp +++ b/src/gpu/ops/GrOvalOpFactory.cpp @@ -2836,8 +2836,8 @@ public: float devYRadius, SkVector devStrokeWidths, bool strokeOnly) { - SkASSERT(devXRadius >= 0.5); - SkASSERT(devYRadius >= 0.5); + SkASSERT(devXRadius >= 0.5 || strokeOnly); + SkASSERT(devYRadius >= 0.5 || strokeOnly); SkASSERT((devStrokeWidths.fX > 0) == (devStrokeWidths.fY > 0)); SkASSERT(!(strokeOnly && devStrokeWidths.fX <= 0)); if (devStrokeWidths.fX > 0) {