Chromium Code Reviews| Index: src/pdf/SkPDFDevice.cpp |
| =================================================================== |
| --- src/pdf/SkPDFDevice.cpp (revision 9119) |
| +++ src/pdf/SkPDFDevice.cpp (working copy) |
| @@ -785,8 +785,11 @@ |
| } |
| } |
| -void SkPDFDevice::drawRect(const SkDraw& d, const SkRect& r, |
| +void SkPDFDevice::drawRect(const SkDraw& d, const SkRect& rect, |
| const SkPaint& paint) { |
| + SkRect r = rect; |
| + r.sort(); |
|
caryclark
2013/05/14 17:43:26
putting the change in the canvas will change other
|
| + |
| if (paint.getPathEffect()) { |
| if (d.fClip->isEmpty()) { |
| return; |