| Index: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
| index 22d4541294d1648509d3c725720542e19a42549e..eeb48ba73fd87a5e111b4e328fbe7850094067f7 100644
|
| --- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
| @@ -419,10 +419,10 @@ void ObjectPaintInvalidatorWithContext::invalidateSelectionIfNeeded(PaintInvalid
|
|
|
| LayoutRect oldSelectionRect = selectionPaintInvalidationMap().get(&m_object);
|
| LayoutRect newSelectionRect = m_object.localSelectionRect();
|
| - if (!newSelectionRect.isEmpty())
|
| + if (!newSelectionRect.isEmpty()) {
|
| m_context.mapLocalRectToPaintInvalidationBacking(m_object, newSelectionRect);
|
| -
|
| - newSelectionRect.move(m_object.scrollAdjustmentForPaintInvalidation(*m_context.paintInvalidationContainer));
|
| + newSelectionRect.move(m_object.scrollAdjustmentForPaintInvalidation(*m_context.paintInvalidationContainer));
|
| + }
|
|
|
| setPreviousSelectionPaintInvalidationRect(m_object, newSelectionRect);
|
|
|
|
|