| Index: third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp (revision 11711)
|
| +++ third_party/WebKit/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp (working copy)
|
| @@ -671,9 +671,10 @@
|
| r.fTop++;
|
| r.fBottom--;
|
| */
|
| - if (!isRectSkiaSafe(getCTM(), r))
|
| + if (!isRectSkiaSafe(getCTM(), r)) {
|
| // See the fillRect below.
|
| ClipRectToCanvas(*platformContext()->canvas(), r, &r);
|
| + }
|
|
|
| platformContext()->drawRect(r);
|
| }
|
| @@ -715,9 +716,10 @@
|
| return;
|
|
|
| SkRect r = rect;
|
| - if (!isRectSkiaSafe(getCTM(), r))
|
| + if (!isRectSkiaSafe(getCTM(), r)) {
|
| // See the other version of fillRect below.
|
| ClipRectToCanvas(*platformContext()->canvas(), r, &r);
|
| + }
|
|
|
| const GraphicsContextState& state = m_common->state;
|
| ColorSpace colorSpace = state.fillColorSpace;
|
|
|