mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Call BoxTreeRoot::construct from layout_thread_2020
This commit is contained in:
parent
9706cd497d
commit
ec74204fa0
12 changed files with 51 additions and 42 deletions
|
@ -109,6 +109,13 @@ pub struct ServoLayoutNode<'a> {
|
|||
chain: PhantomData<&'a ()>,
|
||||
}
|
||||
|
||||
// Those are supposed to be sound, but they aren't because the entire system
|
||||
// between script and layout so far has been designed to work around their
|
||||
// absence. Switching the entire thing to the inert crate infra will help.
|
||||
|
||||
unsafe impl Send for ServoLayoutNode<'_> {}
|
||||
unsafe impl Sync for ServoLayoutNode<'_> {}
|
||||
|
||||
impl<'ln> Debug for ServoLayoutNode<'ln> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
if let Some(el) = self.as_element() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue