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

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

Issue 2929873002: Shifting layer position for sticky element to avoid passing unnessary variable to cc (Closed)
Patch Set: Bug fix Created 3 years, 6 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/CompositedLayerMapping.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
index a9c13519cf420c4563f226f3eac8055206676a44..00c33c04c0d485c8394c51e04d0abe6f881007c8 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -370,6 +370,10 @@ class CORE_EXPORT CompositedLayerMapping final : public GraphicsLayerClient {
void UpdateChildClippingMaskLayerGeometry();
void UpdateStickyConstraints(const ComputedStyle&);
+ // Returns true if the compositor will be responsible for applying the sticky
+ // position offset for this composited layer.
+ bool UsesCompositedStickyPosition() const;
+
void CreatePrimaryGraphicsLayer();
void DestroyGraphicsLayers();
« no previous file with comments | « cc/trees/transform_node.h ('k') | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698