mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
layout: Stop exposing raw Element
types to layout as well.
This should make layout memory-safe as is, though we will need to do more stuff for incremental reflow and parallelism.
This commit is contained in:
parent
9e2b63ddd3
commit
8f886e599e
7 changed files with 59 additions and 39 deletions
|
@ -52,7 +52,6 @@ use std::ptr;
|
|||
use std::str::eq_slice;
|
||||
use std::task::{spawn_sched, SingleThreaded};
|
||||
use std::util::replace;
|
||||
use style::{TElement, TNode};
|
||||
|
||||
/// Messages used to control the script task.
|
||||
pub enum ScriptMsg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue