aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/dom_wrapper.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2018-03-03 22:33:29 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-03-03 23:52:50 +0100
commita19219ec79040cdf941fa59c3441f734811b76db (patch)
treed7fe1cc16d131bd8194ffdefb58cd8394dcc98cb /components/layout_thread/dom_wrapper.rs
parent2f0df1b421014ee2d024aea6bc2961e31debd328 (diff)
downloadservo-a19219ec79040cdf941fa59c3441f734811b76db.tar.gz
servo-a19219ec79040cdf941fa59c3441f734811b76db.zip
style: Add also a containing_shadow API.
Diffstat (limited to 'components/layout_thread/dom_wrapper.rs')
-rw-r--r--components/layout_thread/dom_wrapper.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/layout_thread/dom_wrapper.rs b/components/layout_thread/dom_wrapper.rs
index b9baea95b0e..3161de39b00 100644
--- a/components/layout_thread/dom_wrapper.rs
+++ b/components/layout_thread/dom_wrapper.rs
@@ -562,6 +562,10 @@ impl<'le> TElement for ServoLayoutElement<'le> {
fn shadow_root(&self) -> Option<ShadowRoot<'le>> {
None
}
+
+ fn containing_shadow(&self) -> Option<ShadowRoot<'le>> {
+ None
+ }
}
impl<'le> PartialEq for ServoLayoutElement<'le> {