Index: Source/core/rendering/RenderListBox.cpp |
diff --git a/Source/core/rendering/RenderListBox.cpp b/Source/core/rendering/RenderListBox.cpp |
index df7fea2e20e65b687d7ee8249f9089305fe7c770..f3147e2d673cd8d42217288e570fae65ced2f773 100644 |
--- a/Source/core/rendering/RenderListBox.cpp |
+++ b/Source/core/rendering/RenderListBox.cpp |
@@ -198,16 +198,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() |