Index: src/gpu/effects/GrEllipseEdgeEffect.h |
=================================================================== |
--- src/gpu/effects/GrEllipseEdgeEffect.h (revision 8302) |
+++ src/gpu/effects/GrEllipseEdgeEffect.h (working copy) |
@@ -50,8 +50,9 @@ |
private: |
GrEllipseEdgeEffect(bool stroke); |
- virtual bool onIsEqual(const GrEffect&) const SK_OVERRIDE { |
- return true; |
+ virtual bool onIsEqual(const GrEffect& other) const SK_OVERRIDE { |
+ const GrEllipseEdgeEffect& eee = CastEffect<GrEllipseEdgeEffect>(other); |
+ return eee.fStroke == fStroke; |
} |
bool fStroke; |