| Index: Source/core/paint/HTMLCanvasPainter.cpp
|
| diff --git a/Source/core/paint/HTMLCanvasPainter.cpp b/Source/core/paint/HTMLCanvasPainter.cpp
|
| index a7260845271793b4abdb6977db7deaf36a5713a5..9a8b1ef3e955058f8a1221429cb4184c9916363c 100644
|
| --- a/Source/core/paint/HTMLCanvasPainter.cpp
|
| +++ b/Source/core/paint/HTMLCanvasPainter.cpp
|
| @@ -34,7 +34,8 @@ void HTMLCanvasPainter::paintReplaced(const PaintInfo& paintInfo, const LayoutPo
|
| bool clip = !contentRect.contains(paintRect);
|
| if (clip) {
|
| context->save();
|
| - context->clip(contentRect);
|
| + // TODO(chrishtr): this should be pixel-snapped.
|
| + context->clip(FloatRect(contentRect));
|
| }
|
|
|
| // FIXME: InterpolationNone should be used if ImageRenderingOptimizeContrast is set.
|
|
|