| 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 fa2d3eaa7951e7b779b16bca750da7e1658b2b42..267ce73862b891f58db19eeadd48fcaae02c6790 100644
|
| --- a/third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| @@ -83,11 +83,11 @@ void PartPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs
|
| }
|
|
|
| // Paint a partially transparent wash over selected widgets.
|
| - if (isSelected() && !paintInfo.isPrinting() && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, m_layoutPart, paintInfo.phase, adjustedPaintOffset)) {
|
| + if (isSelected() && !paintInfo.isPrinting() && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, m_layoutPart, paintInfo.phase)) {
|
| LayoutRect rect = m_layoutPart.localSelectionRect();
|
| rect.moveBy(adjustedPaintOffset);
|
| IntRect selectionRect = pixelSnappedIntRect(rect);
|
| - LayoutObjectDrawingRecorder drawingRecorder(paintInfo.context, m_layoutPart, paintInfo.phase, selectionRect, adjustedPaintOffset);
|
| + LayoutObjectDrawingRecorder drawingRecorder(paintInfo.context, m_layoutPart, paintInfo.phase, selectionRect);
|
| paintInfo.context.fillRect(selectionRect, m_layoutPart.selectionBackgroundColor());
|
| }
|
|
|
|
|