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

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

Issue 1756003003: Reland "Fully (?) fix overflow: auto with delayed scroll updates (patchset #5 id:80001 of https://c… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
index b1c19ff339245d8e6ca11f06a08f4f17d74b49c7..0057830cb6c66accd227ea5cdbee0cb39104a41f 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
@@ -253,7 +253,9 @@ public:
scrollToOffset(toDoubleSize(position), ScrollOffsetClamped, scrollBehavior, scrollType);
}
- void updateAfterLayout();
+ // Returns true if a layout object was marked for layout. In such a case, the layout scope's root
+ // should be laid out again.
+ bool updateAfterLayout(SubtreeLayoutScope* = nullptr);
void updateAfterStyleChange(const ComputedStyle*);
void updateAfterOverflowRecalc();

Powered by Google App Engine
This is Rietveld 408576698