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

Unified Diff: cc/trees/draw_property_utils.h

Issue 2733633002: Handle nested position:sticky elements correctly (compositor) (Closed)
Patch Set: Addressed the easier reviewer comments. Created 3 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: cc/trees/draw_property_utils.h
diff --git a/cc/trees/draw_property_utils.h b/cc/trees/draw_property_utils.h
index 4f19d144f881585f049153519b3908d0a7a4c841..b88f8198737e29f68f274467ad0a2e7dfcb977d4 100644
--- a/cc/trees/draw_property_utils.h
+++ b/cc/trees/draw_property_utils.h
@@ -134,6 +134,10 @@ UpdateElasticOverscroll(PropertyTrees* property_trees,
const Layer* overscroll_elasticity_layer,
const gfx::Vector2dF& elastic_overscroll);
+gfx::Vector2dF CC_EXPORT
+CalculateTotalStickyOffsetToScroller(Layer* layer,
+ int scroll_ancestor_layer_id);
+
} // namespace draw_property_utils
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698