Index: src/gpu/GrPath.h |
diff --git a/src/gpu/GrPath.h b/src/gpu/GrPath.h |
index 27bbdc043982e438e120a7a6cddcf7081e52e456..ab8c51f2afb6143998b6cedfdac32aa2e4366c7e 100644 |
--- a/src/gpu/GrPath.h |
+++ b/src/gpu/GrPath.h |
@@ -31,7 +31,7 @@ public: |
static uint64_t ComputeStrokeKey(const SkStrokeRec&); |
bool isEqualTo(const SkPath& path, const SkStrokeRec& stroke) { |
- return fSkPath == path && fStroke == stroke; |
+ return fSkPath == path && fStroke.hasEqualEffect(stroke); |
} |
const SkRect& getBounds() const { return fBounds; } |