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

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

Issue 379073002: Revert of Divorce PaintInvalidationState from LayoutState (https://codereview.chromium.org/36083300… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Correct revert order Created 6 years, 5 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
« no previous file with comments | « Source/core/rendering/RenderListBox.h ('k') | Source/core/rendering/RenderListItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderListBox.cpp
diff --git a/Source/core/rendering/RenderListBox.cpp b/Source/core/rendering/RenderListBox.cpp
index f2b1b38d5871e199c48c012fba10ab5d2cdbfae9..9eeace5b4a1747ffb2201bdbab836ce6f8187e44 100644
--- a/Source/core/rendering/RenderListBox.cpp
+++ b/Source/core/rendering/RenderListBox.cpp
@@ -199,14 +199,16 @@ void RenderListBox::layout()
}
}
- if (m_scrollToRevealSelectionAfterLayout)
+ if (m_scrollToRevealSelectionAfterLayout) {
+ ForceHorriblySlowRectMapping slowRectMapping(*this);
scrollToRevealSelection();
+ }
}
-void RenderListBox::invalidateTreeAfterLayout(const PaintInvalidationState& paintInvalidationState)
+void RenderListBox::invalidateTreeAfterLayout(const RenderLayerModelObject& invalidationContainer)
{
repaintScrollbarIfNeeded();
- RenderBox::invalidateTreeAfterLayout(paintInvalidationState);
+ RenderBox::invalidateTreeAfterLayout(invalidationContainer);
}
void RenderListBox::scrollToRevealSelection()
« no previous file with comments | « Source/core/rendering/RenderListBox.h ('k') | Source/core/rendering/RenderListItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698