| Index: third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PartPainter.cpp b/third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| index e7f27a1683c6268c0cded4998a1ded3d90b40511..1c02da215fa50193162a200cecdfc2fd1b4ec99d 100644
|
| --- a/third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| @@ -130,9 +130,11 @@ void PartPainter::paintContents(const PaintInfo& paintInfo,
|
| // neutralized.
|
| IntSize widgetPaintOffset = paintLocation - widget->frameRect().location();
|
| TransformRecorder transform(
|
| - paintInfo.context, m_layoutPart,
|
| + paintInfo.context,
|
| AffineTransform::translation(widgetPaintOffset.width(),
|
| - widgetPaintOffset.height()));
|
| + widgetPaintOffset.height()),
|
| + m_layoutPart.visualRect(), m_layoutPart.debugName(),
|
| + m_layoutPart.paintedOutputOfObjectHasNoEffectRegardlessOfSize());
|
| CullRect adjustedCullRect(paintInfo.cullRect(), -widgetPaintOffset);
|
| widget->paint(paintInfo.context, adjustedCullRect);
|
| }
|
|
|