Chromium Code Reviews| Index: src/gpu/effects/GrCircleEdgeEffect.h |
| =================================================================== |
| --- src/gpu/effects/GrCircleEdgeEffect.h (revision 8302) |
| +++ src/gpu/effects/GrCircleEdgeEffect.h (working copy) |
| @@ -52,7 +52,8 @@ |
| GrCircleEdgeEffect(bool stroke); |
| virtual bool onIsEqual(const GrEffect& other) const SK_OVERRIDE { |
| - return true; |
| + const GrCircleEdgeEffect& cee = CastEffect<GrCircleEdgeEffect>(other); |
| + return cee.fStroke == fStroke; |
| } |
| bool fStroke; |