diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-03-30 10:56:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 10:56:35 -0400 |
commit | 236762880c48263f8fa2c5a4deb9cf8f7746013c (patch) | |
tree | b651381f3a88b9a46c56018946377bd8b879e737 /components/layout_thread_2020 | |
parent | fd6f9140f79a855b9db5fe4e305f8ca8b6c1a84f (diff) | |
parent | 02fb5a68e6285d86c0a091e4c6ac36a7d436d3f1 (diff) | |
download | servo-236762880c48263f8fa2c5a4deb9cf8f7746013c.tar.gz servo-236762880c48263f8fa2c5a4deb9cf8f7746013c.zip |
Auto merge of #26058 - servo:layout-2020-improvements, r=SimonSapin
Make many improvements to the layout/script comms story
Now `LayoutDom<'dom, T>` is a mere wrapper around a `&'dom T`.
Diffstat (limited to 'components/layout_thread_2020')
-rw-r--r-- | components/layout_thread_2020/dom_wrapper.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/components/layout_thread_2020/dom_wrapper.rs b/components/layout_thread_2020/dom_wrapper.rs index 55277ea309c..d8aa7b05360 100644 --- a/components/layout_thread_2020/dom_wrapper.rs +++ b/components/layout_thread_2020/dom_wrapper.rs @@ -184,12 +184,7 @@ impl<'lr> TShadowRoot for ServoShadowRoot<'lr> { where Self: 'a, { - Some(unsafe { - &self - .shadow_root - .get_style_data_for_layout::<ServoLayoutElement>() - .data - }) + Some(unsafe { &self.shadow_root.get_style_data_for_layout().data }) } } |