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

Unified Diff: cc/layers/layer_impl_test_properties.h

Issue 2911463002: Unify the calculation of main thread offset of sticky element (Closed)
Patch Set: Remove parent_relative_sticky_box_offset related logic Created 3 years, 7 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/layers/layer_impl_test_properties.h
diff --git a/cc/layers/layer_impl_test_properties.h b/cc/layers/layer_impl_test_properties.h
index ee2917e2a4aee0f5068ab11e9bfe16bfb7c9cfc4..544d47304ac62ee4a69bb9588dd9140ab4910226 100644
--- a/cc/layers/layer_impl_test_properties.h
+++ b/cc/layers/layer_impl_test_properties.h
@@ -46,6 +46,7 @@ struct CC_EXPORT LayerImplTestProperties {
SkBlendMode blend_mode;
LayerPositionConstraint position_constraint;
LayerStickyPositionConstraint sticky_position_constraint;
+ gfx::Size sticky_main_thread_offset;
gfx::Point3F transform_origin;
gfx::Transform transform;
LayerImpl* scroll_parent;

Powered by Google App Engine
This is Rietveld 408576698