mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
script: Eliminate the phantom type in Node
, as it is no longer needed
for enforcing layout memory safety.
This commit is contained in:
parent
8f886e599e
commit
436b1e891d
10 changed files with 33 additions and 45 deletions
|
@ -5,12 +5,11 @@
|
|||
use dom::bindings::codegen::DocumentFragmentBinding;
|
||||
use dom::bindings::utils::Fallible;
|
||||
use dom::document::AbstractDocument;
|
||||
use dom::node::{ScriptView, Node, DocumentFragmentNodeTypeId};
|
||||
use dom::node::{AbstractNode};
|
||||
use dom::node::{AbstractNode, DocumentFragmentNodeTypeId, Node};
|
||||
use dom::window::Window;
|
||||
|
||||
pub struct DocumentFragment {
|
||||
node: Node<ScriptView>,
|
||||
node: Node,
|
||||
}
|
||||
|
||||
impl DocumentFragment {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue