Index: cc/blink/web_layer_impl.cc |
diff --git a/cc/blink/web_layer_impl.cc b/cc/blink/web_layer_impl.cc |
index ff07c7c0b1fdd073f0fb9588bd2f7fdfdcdacdef..6e6d7f6a8c7fb8d7a63881f97ac8d5a0eb8cc513 100644 |
--- a/cc/blink/web_layer_impl.cc |
+++ b/cc/blink/web_layer_impl.cc |
@@ -378,6 +378,10 @@ ToWebLayerStickyPositionConstraint( |
constraint.scroll_container_relative_sticky_box_rect; |
web_constraint.scrollContainerRelativeContainingBlockRect = |
constraint.scroll_container_relative_containing_block_rect; |
+ web_constraint.nearestLayerShiftingStickyBox = |
+ constraint.nearest_layer_shifting_sticky_box; |
+ web_constraint.nearestLayerShiftingContainingBlock = |
+ constraint.nearest_layer_shifting_containing_block; |
return web_constraint; |
} |
static cc::LayerStickyPositionConstraint ToStickyPositionConstraint( |
@@ -398,6 +402,10 @@ static cc::LayerStickyPositionConstraint ToStickyPositionConstraint( |
web_constraint.scrollContainerRelativeStickyBoxRect; |
constraint.scroll_container_relative_containing_block_rect = |
web_constraint.scrollContainerRelativeContainingBlockRect; |
+ constraint.nearest_layer_shifting_sticky_box = |
+ web_constraint.nearestLayerShiftingStickyBox; |
+ constraint.nearest_layer_shifting_containing_block = |
+ web_constraint.nearestLayerShiftingContainingBlock; |
return constraint; |
} |
void WebLayerImpl::setStickyPositionConstraint( |