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