| Index: Source/core/rendering/RenderWidget.cpp
|
| diff --git a/Source/core/rendering/RenderWidget.cpp b/Source/core/rendering/RenderWidget.cpp
|
| index 9c6feb292d8547d63e6b7d3e2a8719d850c531ff..f8572e6f9b0da6d31d3a21481b4895be559763bb 100644
|
| --- a/Source/core/rendering/RenderWidget.cpp
|
| +++ b/Source/core/rendering/RenderWidget.cpp
|
| @@ -229,7 +229,7 @@ void RenderWidget::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintO
|
| IntPoint widgetLocation = m_widget->frameRect().location();
|
| IntPoint paintLocation(roundToInt(adjustedPaintOffset.x() + borderLeft() + paddingLeft()),
|
| roundToInt(adjustedPaintOffset.y() + borderTop() + paddingTop()));
|
| - IntRect paintRect = paintInfo.rect();
|
| + IntRect paintRect = paintInfo.rect;
|
|
|
| IntSize widgetPaintOffset = paintLocation - widgetLocation;
|
| // When painting widgets into compositing layers, tx and ty are relative to the enclosing compositing layer,
|
| @@ -302,7 +302,7 @@ void RenderWidget::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| }
|
|
|
| if (hasLayer() && layer()->canResize())
|
| - layer()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect());
|
| + layer()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect);
|
| }
|
|
|
| void RenderWidget::setIsOverlapped(bool isOverlapped)
|
|
|