| Index: Source/core/paint/ImagePainter.cpp
|
| diff --git a/Source/core/paint/ImagePainter.cpp b/Source/core/paint/ImagePainter.cpp
|
| index 447ccd52abc0db56d7030db011ac1c2e4d8a1e30..ad654a280cef461d17815ba2357cbc11a53f7c66 100644
|
| --- a/Source/core/paint/ImagePainter.cpp
|
| +++ b/Source/core/paint/ImagePainter.cpp
|
| @@ -200,4 +200,12 @@ void ImagePainter::paintIntoRect(GraphicsContext* context, const LayoutRect& rec
|
| InspectorInstrumentation::didPaintImage(&m_renderImage);
|
| }
|
|
|
| +void ImagePainter::paintBoxDecorationBackground(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| +{
|
| + bool oldShouldAntialias = paintInfo.context->shouldAntialias();
|
| + paintInfo.context->setShouldAntialias(false);
|
| + BoxPainter(m_renderImage).paintBoxDecorationBackground(paintInfo, paintOffset);
|
| + paintInfo.context->setShouldAntialias(oldShouldAntialias);
|
| +}
|
| +
|
| } // namespace blink
|
|
|