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

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: Comments update 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..a0776749de29875fd686be179fa78c3456d0a053 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&);
+ // This function is determining whether the compositor will be responsible for
flackr 2017/06/09 17:49:52 Sorry, I didn't mean that comment literally. For c
yigu 2017/06/09 18:06:07 Done.
+ // 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