From b3245fa407b8bbb9d893406bb810e122d3f5074a Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 25 Sep 2014 16:01:21 +0100 Subject: Upgrade to rustc d2b30f7d3 2014-09-23 --- components/script/dom/domparser.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'components/script/dom/domparser.rs') diff --git a/components/script/dom/domparser.rs b/components/script/dom/domparser.rs index 3f9e3bbb827..315a3851bb1 100644 --- a/components/script/dom/domparser.rs +++ b/components/script/dom/domparser.rs @@ -6,7 +6,8 @@ use dom::bindings::codegen::Bindings::DOMParserBinding; use dom::bindings::codegen::Bindings::DOMParserBinding::DOMParserMethods; use dom::bindings::codegen::Bindings::DOMParserBinding::SupportedTypeValues::{Text_html, Text_xml}; use dom::bindings::error::{Fallible, FailureUnknown}; -use dom::bindings::global::{GlobalRef, Window}; +use dom::bindings::global::GlobalRef; +use dom::bindings::global; use dom::bindings::js::{JS, JSRef, Temporary}; use dom::bindings::utils::{Reflector, Reflectable, reflect_dom_object}; use dom::document::{Document, HTMLDocument, NonHTMLDocument}; @@ -29,7 +30,7 @@ impl DOMParser { } pub fn new(window: JSRef) -> Temporary { - reflect_dom_object(box DOMParser::new_inherited(window), &Window(window), + reflect_dom_object(box DOMParser::new_inherited(window), &global::Window(window), DOMParserBinding::Wrap) } -- cgit v1.2.3