| Index: src/core/SkPictureRecord.cpp
|
| ===================================================================
|
| --- src/core/SkPictureRecord.cpp (revision 9020)
|
| +++ src/core/SkPictureRecord.cpp (working copy)
|
| @@ -783,7 +783,11 @@
|
| validate(initialOffset, size);
|
|
|
| if (fRecordFlags & SkPicture::kUsePathBoundsForClip_RecordingFlag) {
|
| - return this->INHERITED::clipRect(path.getBounds(), op, doAA);
|
| + if (path.isInverseFillType()) {
|
| + return this->getClipDeviceBounds(NULL);
|
| + } else {
|
| + return this->INHERITED::clipRect(path.getBounds(), op, doAA);
|
| + }
|
| } else {
|
| return this->INHERITED::clipPath(path, op, doAA);
|
| }
|
|
|