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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.h

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/compositing/CompositingInputsUpdater.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.h b/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.h
index d182c9263b12a5ea432cbcbef241ec3f10c42d20..97e455ffc3b7fe6a5a62019446e70a98c049179c 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.h
@@ -34,6 +34,7 @@ private:
AncestorInfo()
: ancestorStackingContext(nullptr)
, enclosingCompositedLayer(nullptr)
+ , lastOverflowLayer(nullptr)
, lastScrollingAncestor(nullptr)
, hasAncestorWithClipRelatedProperty(false)
, hasAncestorWithClipPath(false)
@@ -42,6 +43,7 @@ private:
PaintLayer* ancestorStackingContext;
PaintLayer* enclosingCompositedLayer;
+ PaintLayer* lastOverflowLayer;
chrishtr 2016/03/24 17:36:03 lastOverflowClipLayer
flackr 2016/03/29 16:02:32 Done.
// Notice that lastScrollingAncestor isn't the same thing as
// ancestorScrollingLayer. The former is just the nearest scrolling
// along the PaintLayer::parent() chain. The latter is the layer that

Powered by Google App Engine
This is Rietveld 408576698