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

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

Issue 1308273010: Adapt and reland old position sticky implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove redundant invalidation in LayoutBlock::tryLayoutDoingPositionedMovementOnly 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/LayoutBlockFlow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
index fc16068acc3dc97f322a088627bfe8703cb825bb..8bafa8ddb2a9e17aef56910a4c22ca9783687b8e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -327,7 +327,7 @@ void LayoutBlockFlow::layoutBlock(bool relayoutChildren)
// Update our scroll information if we're overflow:auto/scroll/hidden now that we know if
chrishtr 2016/03/24 17:36:02 Move the comment into updateAfterLayout
flackr 2016/03/29 16:02:32 Done.
// we overflow or not.
- updateScrollInfoAfterLayout();
+ updateAfterLayout();
if (m_paintInvalidationLogicalTop != m_paintInvalidationLogicalBottom) {
bool hasVisibleContent = style()->visibility() == VISIBLE;

Powered by Google App Engine
This is Rietveld 408576698