aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/dom_wrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_thread/dom_wrapper.rs')
-rw-r--r--components/layout_thread/dom_wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_thread/dom_wrapper.rs b/components/layout_thread/dom_wrapper.rs
index 9b0f2f67131..88eedef7d17 100644
--- a/components/layout_thread/dom_wrapper.rs
+++ b/components/layout_thread/dom_wrapper.rs
@@ -711,7 +711,7 @@ impl<'le> TElement for ServoLayoutElement<'le> {
unsafe {
self.element
.upcast()
- .owner_shadow_root_for_layout()
+ .containing_shadow_root_for_layout()
.map(ServoShadowRoot::from_layout_js)
}
}