mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +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
|
@ -15,7 +15,7 @@ use dom::event::{AbstractEvent, Event};
|
|||
use dom::htmlcollection::HTMLCollection;
|
||||
use dom::htmldocument::HTMLDocument;
|
||||
use dom::mouseevent::MouseEvent;
|
||||
use dom::node::{AbstractNode, ScriptView, Node, ElementNodeTypeId, DocumentNodeTypeId};
|
||||
use dom::node::{AbstractNode, Node, ElementNodeTypeId, DocumentNodeTypeId};
|
||||
use dom::text::Text;
|
||||
use dom::uievent::UIEvent;
|
||||
use dom::window::Window;
|
||||
|
@ -86,7 +86,7 @@ pub enum DocumentType {
|
|||
}
|
||||
|
||||
pub struct Document {
|
||||
node: Node<ScriptView>,
|
||||
node: Node,
|
||||
reflector_: Reflector,
|
||||
window: @mut Window,
|
||||
doctype: DocumentType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue