Index: src/gpu/effects/GrRRectEffect.cpp |
diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp |
index 324d02da02df5c140aec42a9a98c5e0607535cc5..9d83785810fab7d0b365598fad32fde3e7996485 100644 |
--- a/src/gpu/effects/GrRRectEffect.cpp |
+++ b/src/gpu/effects/GrRRectEffect.cpp |
@@ -669,19 +669,19 @@ GrEffectRef* GrRRectEffect::Create(GrEffectEdgeType edgeType, const SkRRect& rre |
continue; |
} |
if (r.fX != r.fY) { |
- cornerFlags = -1; |
+ cornerFlags = ~0U; |
break; |
} |
if (!cornerFlags) { |
radius = r.fX; |
if (radius < CircularRRectEffect::kRadiusMin) { |
- cornerFlags = -1; |
+ cornerFlags = ~0U; |
break; |
} |
cornerFlags = 1 << c; |
} else { |
if (r.fX != radius) { |
- cornerFlags = -1; |
+ cornerFlags = ~0U; |
break; |
} |
cornerFlags |= 1 << c; |