| Index: Source/core/rendering/RenderListBox.cpp
|
| diff --git a/Source/core/rendering/RenderListBox.cpp b/Source/core/rendering/RenderListBox.cpp
|
| index 9eeace5b4a1747ffb2201bdbab836ce6f8187e44..f2b1b38d5871e199c48c012fba10ab5d2cdbfae9 100644
|
| --- a/Source/core/rendering/RenderListBox.cpp
|
| +++ b/Source/core/rendering/RenderListBox.cpp
|
| @@ -199,16 +199,14 @@
|
| }
|
| }
|
|
|
| - if (m_scrollToRevealSelectionAfterLayout) {
|
| - ForceHorriblySlowRectMapping slowRectMapping(*this);
|
| + if (m_scrollToRevealSelectionAfterLayout)
|
| scrollToRevealSelection();
|
| - }
|
| -}
|
| -
|
| -void RenderListBox::invalidateTreeAfterLayout(const RenderLayerModelObject& invalidationContainer)
|
| +}
|
| +
|
| +void RenderListBox::invalidateTreeAfterLayout(const PaintInvalidationState& paintInvalidationState)
|
| {
|
| repaintScrollbarIfNeeded();
|
| - RenderBox::invalidateTreeAfterLayout(invalidationContainer);
|
| + RenderBox::invalidateTreeAfterLayout(paintInvalidationState);
|
| }
|
|
|
| void RenderListBox::scrollToRevealSelection()
|
|
|