Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index 998fb6645babc16f3aa2b740c795a1ab90175271..7ddd369bc9a768a9e1dc7de61716c814a28df4e9 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -341,17 +341,20 @@ void SkRecorder::didSetMatrix(const SkMatrix& matrix) { |
void SkRecorder::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { |
INHERITED(onClipRect, rect, op, edgeStyle); |
- APPEND(ClipRect, this->devBounds(), rect, op, edgeStyle == kSoft_ClipEdgeStyle); |
+ SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle); |
+ APPEND(ClipRect, this->devBounds(), rect, opAA); |
} |
void SkRecorder::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { |
INHERITED(onClipRRect, rrect, op, edgeStyle); |
- APPEND(ClipRRect, this->devBounds(), rrect, op, edgeStyle == kSoft_ClipEdgeStyle); |
+ SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle); |
+ APPEND(ClipRRect, this->devBounds(), rrect, opAA); |
} |
void SkRecorder::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { |
INHERITED(onClipPath, path, op, edgeStyle); |
- APPEND(ClipPath, this->devBounds(), delay_copy(path), op, edgeStyle == kSoft_ClipEdgeStyle); |
+ SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle); |
+ APPEND(ClipPath, this->devBounds(), delay_copy(path), opAA); |
} |
void SkRecorder::onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) { |