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

Unified Diff: cc/layers/layer_sticky_position_constraint.h

Issue 2911463002: Unify the calculation of main thread offset of sticky element (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
« no previous file with comments | « cc/layers/layer_impl_test_properties.h ('k') | cc/layers/layer_sticky_position_constraint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_sticky_position_constraint.h
diff --git a/cc/layers/layer_sticky_position_constraint.h b/cc/layers/layer_sticky_position_constraint.h
index adf053528f541aa570e23dd4ee477f006500e9be..782fa9426f6390c9972fb95bcd47456859e6f018 100644
--- a/cc/layers/layer_sticky_position_constraint.h
+++ b/cc/layers/layer_sticky_position_constraint.h
@@ -29,11 +29,6 @@ struct CC_EXPORT LayerStickyPositionConstraint {
float top_offset;
float bottom_offset;
- // The layout offset of the sticky box relative to its containing layer.
- // This is used to detect the sticky offset the main thread has applied
- // to the layer.
- gfx::Point parent_relative_sticky_box_offset;
-
// The rectangle corresponding to original layout position of the sticky box
// relative to the scroll ancestor. The sticky box is only offset once the
// scroll has passed its initial position (e.g. top_offset will only push
« no previous file with comments | « cc/layers/layer_impl_test_properties.h ('k') | cc/layers/layer_sticky_position_constraint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698