script: Eliminate the phantom type in Node, as it is no longer needed

for enforcing layout memory safety.
This commit is contained in:
Patrick Walton 2013-12-17 15:03:37 -08:00
parent 8f886e599e
commit 436b1e891d
10 changed files with 33 additions and 45 deletions

View file

@ -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,