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

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: Test 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..f1955f5dac0a777b12b957c0572c82cb9b070060 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h
@@ -370,6 +370,8 @@ class CORE_EXPORT CompositedLayerMapping final : public GraphicsLayerClient {
void UpdateChildClippingMaskLayerGeometry();
void UpdateStickyConstraints(const ComputedStyle&);
+ bool UsesCompositedStickyPosition() const;
flackr 2017/06/09 17:33:33 Add a comment. This function is determining whethe
yigu 2017/06/09 17:41:16 Done.
+
void CreatePrimaryGraphicsLayer();
void DestroyGraphicsLayers();

Powered by Google App Engine
This is Rietveld 408576698