Index: src/gpu/GrShape.cpp |
diff --git a/src/gpu/GrShape.cpp b/src/gpu/GrShape.cpp |
index 65c982571d48bf7110bcce1a2d91883402703655..582858e1d9608b506669ecb3ee9ae7a9c5c4c55d 100644 |
--- a/src/gpu/GrShape.cpp |
+++ b/src/gpu/GrShape.cpp |
@@ -361,10 +361,6 @@ void GrShape::attemptToSimplifyPath() { |
} else { |
fPathData.fGenID = this->path().getGenerationID(); |
} |
- if (this->style().isSimpleFill()) { |
- this->path().close(); |
- this->path().setIsVolatile(true); |
- } |
if (!this->style().hasNonDashPathEffect()) { |
if (this->style().strokeRec().getStyle() == SkStrokeRec::kStroke_Style || |
this->style().strokeRec().getStyle() == SkStrokeRec::kHairline_Style) { |