diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-02-22 21:03:39 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-02-24 22:35:28 +0100 |
commit | 870ccd95d2fd9afbc0128bd6b44391eb695554c9 (patch) | |
tree | 652dca921dcb0a174585a34d300b4f288074fb9c /src/components/script/script_task.rs | |
parent | 5ede84fa46c5aa5fe1d7c969c7c0714a6730b7f1 (diff) | |
download | servo-870ccd95d2fd9afbc0128bd6b44391eb695554c9.tar.gz servo-870ccd95d2fd9afbc0128bd6b44391eb695554c9.zip |
Remove DocumentTypeId.
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r-- | src/components/script/script_task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index 971fa215da8..a9a284ad21f 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -9,7 +9,7 @@ use dom::bindings::codegen::RegisterBindings; use dom::bindings::codegen::InheritTypes::{EventTargetCast, NodeCast, ElementCast}; use dom::bindings::js::JS; use dom::bindings::utils::{Reflectable, GlobalStaticData, with_gc_enabled}; -use dom::document::{Document, HTMLDocumentTypeId}; +use dom::document::{Document, HTMLDocument}; use dom::element::Element; use dom::event::{Event_, ResizeEvent, ReflowEvent, ClickEvent, MouseDownEvent, MouseMoveEvent, MouseUpEvent}; use dom::event::Event; @@ -717,7 +717,7 @@ impl ScriptTask { // Parse HTML. // // Note: We can parse the next document in parallel with any previous documents. - let mut document = Document::new(&window, Some(url.clone()), HTMLDocumentTypeId, None); + let mut document = Document::new(&window, Some(url.clone()), HTMLDocument, None); let html_parsing_result = hubbub_html_parser::parse_html(cx.ptr, &mut document, url.clone(), |