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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2825343003: Clean compositing inputs for location APIs for sticky-affected elements. (Closed)
Patch Set: Created 3 years, 8 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: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
index 3eda3a9d35244eb7b1a9b8b71c857b8e5156560d..073847bdefa8daf8edcea3fe12e7dc63d20c3f24 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -853,6 +853,10 @@ void PaintLayerScrollableArea::UpdateAfterLayout() {
DisableCompositingQueryAsserts disabler;
PositionOverflowControls();
+
+ // Layout of a scrollable area, or any of its descendants (sticky or
+ // otherwise), invalidates the cached sticky constraints.
+ InvalidateAllStickyConstraints();
chrishtr 2017/04/20 17:40:34 This looks like an independent bug. Does it deserv
smcgruer 2017/04/26 14:37:07 Yes, it probably does. Removed the scroll related
}
void PaintLayerScrollableArea::ClampScrollOffsetAfterOverflowChange() {

Powered by Google App Engine
This is Rietveld 408576698