| Index: src/core/SkRecorder.cpp
|
| diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp
|
| index 86578a53b82b66e890f3b0da56ec8e78b97727ce..f6c16d1c306a1bd9a192ab06f44c8c6fa50efc8c 100644
|
| --- a/src/core/SkRecorder.cpp
|
| +++ b/src/core/SkRecorder.cpp
|
| @@ -11,7 +11,7 @@
|
|
|
| // SkCanvas will fail in mysterious ways if it doesn't know the real width and height.
|
| SkRecorder::SkRecorder(SkRecord* record, int width, int height)
|
| - : SkCanvas(width, height)
|
| + : SkCanvas(width, height, SkCanvas::kConservativeRasterClip_InitFlag)
|
| , fRecord(record)
|
| , fSaveLayerCount(0) {}
|
|
|
| @@ -280,12 +280,12 @@
|
| }
|
|
|
| void SkRecorder::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) {
|
| - INHERITED(updateClipConservativelyUsingBounds, rrect.getBounds(), op, false);
|
| + INHERITED(onClipRRect, rrect, op, edgeStyle);
|
| APPEND(ClipRRect, this->devBounds(), rrect, op, edgeStyle == kSoft_ClipEdgeStyle);
|
| }
|
|
|
| void SkRecorder::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) {
|
| - INHERITED(updateClipConservativelyUsingBounds, path.getBounds(), op, path.isInverseFillType());
|
| + INHERITED(onClipPath, path, op, edgeStyle);
|
| APPEND(ClipPath, this->devBounds(), delay_copy(path), op, edgeStyle == kSoft_ClipEdgeStyle);
|
| }
|
|
|
|
|