| Index: Source/core/rendering/RenderView.cpp
|
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
|
| index 8bfcbf2d2c5c81ac7e6c7a0899dd8f772cfb52ab..cfd75e909e65c87d8a9778d2ce424565f66aa897 100644
|
| --- a/Source/core/rendering/RenderView.cpp
|
| +++ b/Source/core/rendering/RenderView.cpp
|
| @@ -408,7 +408,7 @@ void RenderView::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
|
|
| // This avoids painting garbage between columns if there is a column gap.
|
| if (m_frameView && m_frameView->pagination().mode != Pagination::Unpaginated)
|
| - paintInfo.context->fillRect(paintInfo.rect, m_frameView->baseBackgroundColor());
|
| + paintInfo.getContext()->fillRect(paintInfo.getRect(), m_frameView->baseBackgroundColor());
|
|
|
| paintObject(paintInfo, paintOffset);
|
| }
|
| @@ -492,12 +492,13 @@ void RenderView::paintBoxDecorations(PaintInfo& paintInfo, const LayoutPoint&)
|
| else {
|
| Color baseColor = frameView()->baseBackgroundColor();
|
| if (baseColor.alpha()) {
|
| - CompositeOperator previousOperator = paintInfo.context->compositeOperation();
|
| - paintInfo.context->setCompositeOperation(CompositeCopy);
|
| - paintInfo.context->fillRect(paintInfo.rect, baseColor);
|
| - paintInfo.context->setCompositeOperation(previousOperator);
|
| - } else
|
| - paintInfo.context->clearRect(paintInfo.rect);
|
| + CompositeOperator previousOperator = paintInfo.getContext()->compositeOperation();
|
| + paintInfo.getContext()->setCompositeOperation(CompositeCopy);
|
| + paintInfo.getContext()->fillRect(paintInfo.getRect(), baseColor);
|
| + paintInfo.getContext()->setCompositeOperation(previousOperator);
|
| + } else {
|
| + paintInfo.getContext()->clearRect(paintInfo.getRect());
|
| + }
|
| }
|
| }
|
|
|
|
|