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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.cpp

Issue 1775293002: Revert of 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, 9 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/layout/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index 2ac70d1953b326aca9ad1d1d1b4967d28558afd5..d7deb930e29466e1cd094b316bf2bca92eafb2f8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -881,10 +881,8 @@
++gDelayUpdateScrollInfo;
}
-bool LayoutBlock::finishDelayUpdateScrollInfo(SubtreeLayoutScope* layoutScope)
-{
- bool childrenMarkedForRelayout = false;
-
+void LayoutBlock::finishDelayUpdateScrollInfo()
+{
--gDelayUpdateScrollInfo;
ASSERT(gDelayUpdateScrollInfo >= 0);
if (gDelayUpdateScrollInfo == 0) {
@@ -895,11 +893,10 @@
for (auto* block : *infoSet) {
if (block->hasOverflowClip()) {
- childrenMarkedForRelayout |= block->layer()->scrollableArea()->updateAfterLayout(layoutScope);
+ block->layer()->scrollableArea()->updateAfterLayout();
}
}
}
- return childrenMarkedForRelayout;
}
void LayoutBlock::updateScrollInfoAfterLayout()

Powered by Google App Engine
This is Rietveld 408576698