diff options
Diffstat (limited to 'components/script/dom/stylesheet.rs')
-rw-r--r-- | components/script/dom/stylesheet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/stylesheet.rs b/components/script/dom/stylesheet.rs index 731431ca94f..6315fe19ccd 100644 --- a/components/script/dom/stylesheet.rs +++ b/components/script/dom/stylesheet.rs @@ -6,7 +6,7 @@ use dom::bindings::codegen::Bindings::StyleSheetBinding; use dom::bindings::codegen::Bindings::StyleSheetBinding::StyleSheetMethods; use dom::bindings::inheritance::Castable; use dom::bindings::reflector::{Reflector, reflect_dom_object}; -use dom::bindings::root::Root; +use dom::bindings::root::DomRoot; use dom::bindings::str::DOMString; use dom::cssstylesheet::CSSStyleSheet; use dom::window::Window; @@ -36,7 +36,7 @@ impl StyleSheet { #[allow(unrooted_must_root)] pub fn new(window: &Window, type_: DOMString, href: Option<DOMString>, - title: Option<DOMString>) -> Root<StyleSheet> { + title: Option<DOMString>) -> DomRoot<StyleSheet> { reflect_dom_object(box StyleSheet::new_inherited(type_, href, title), window, StyleSheetBinding::Wrap) |