| Index: Source/core/paint/ImagePainter.cpp
|
| diff --git a/Source/core/paint/ImagePainter.cpp b/Source/core/paint/ImagePainter.cpp
|
| index a765d4f5653a1b67662e6c9a3eac747bcacb85a8..41843b2a01b6d1aa3c52cb2a4b8930dbc489fa48 100644
|
| --- a/Source/core/paint/ImagePainter.cpp
|
| +++ b/Source/core/paint/ImagePainter.cpp
|
| @@ -108,7 +108,8 @@ void ImagePainter::paintReplaced(const PaintInfo& paintInfo, const LayoutPoint&
|
| bool clip = !contentRect.contains(paintRect);
|
| if (clip) {
|
| context->save();
|
| - context->clip(contentRect);
|
| + // TODO(chrishtr): this should be pixel-snapped.
|
| + context->clip(FloatRect(contentRect));
|
| }
|
|
|
| paintIntoRect(context, paintRect);
|
|
|