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

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

Issue 1870663002: Reland main thread position sticky implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only descend into children which have an ancestor overflow layer. Created 4 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/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..1723c8d210e296101aa7bfae2d7d128a88be5831 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)
+ , lastOverflowClipLayer(nullptr)
, lastScrollingAncestor(nullptr)
, hasAncestorWithClipRelatedProperty(false)
, hasAncestorWithClipPath(false)
@@ -42,6 +43,7 @@ private:
PaintLayer* ancestorStackingContext;
PaintLayer* enclosingCompositedLayer;
+ PaintLayer* lastOverflowClipLayer;
// 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