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

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 again :) 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 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()

Powered by Google App Engine
This is Rietveld 408576698