Index: Source/core/rendering/RenderView.cpp |
diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp |
index 95e8ef1da2e6db0e5794d528ee7d5df265be2849..cae73a2fbe79056a63d1ff451a2140612e858127 100644 |
--- a/Source/core/rendering/RenderView.cpp |
+++ b/Source/core/rendering/RenderView.cpp |
@@ -412,7 +412,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.context->fillRect(paintInfo.rect, m_frameView->baseBackgroundColor()); |
paintObject(paintInfo, paintOffset); |
} |
@@ -498,10 +498,10 @@ void RenderView::paintBoxDecorations(PaintInfo& paintInfo, const LayoutPoint&) |
if (baseColor.alpha()) { |
CompositeOperator previousOperator = paintInfo.context->compositeOperation(); |
paintInfo.context->setCompositeOperation(CompositeCopy); |
- paintInfo.context->fillRect(paintInfo.rect(), baseColor); |
+ paintInfo.context->fillRect(paintInfo.rect, baseColor); |
paintInfo.context->setCompositeOperation(previousOperator); |
} else { |
- paintInfo.context->clearRect(paintInfo.rect()); |
+ paintInfo.context->clearRect(paintInfo.rect); |
} |
} |
} |