Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1533)

Unified Diff: Source/core/rendering/RenderListBox.cpp

Issue 360833002: Divorce PaintInvalidationState from LayoutState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ToT-ed Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698