diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-12-19 02:37:20 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-12-19 04:52:48 +0900 |
commit | a7bb436177d58798711403f0329b8bf84763f137 (patch) | |
tree | 5f22ccc13b133ca5a7d31eac75013ef68b5434d9 /components/script/dom/cssstyledeclaration.rs | |
parent | 824788649cd338c044d9396166af5b0f378d6685 (diff) | |
download | servo-a7bb436177d58798711403f0329b8bf84763f137.tar.gz servo-a7bb436177d58798711403f0329b8bf84763f137.zip |
script: Remove glob imports added in #4405
Diffstat (limited to 'components/script/dom/cssstyledeclaration.rs')
-rw-r--r-- | components/script/dom/cssstyledeclaration.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/cssstyledeclaration.rs b/components/script/dom/cssstyledeclaration.rs index 99cb65c4807..4553f020282 100644 --- a/components/script/dom/cssstyledeclaration.rs +++ b/components/script/dom/cssstyledeclaration.rs @@ -5,7 +5,7 @@ use dom::bindings::codegen::Bindings::CSSStyleDeclarationBinding::{mod, CSSStyleDeclarationMethods}; use dom::bindings::codegen::InheritTypes::{NodeCast, ElementCast}; use dom::bindings::error::ErrorResult; -use dom::bindings::global; +use dom::bindings::global::GlobalRef; use dom::bindings::js::{JS, JSRef, OptionalRootedRootable, Temporary}; use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; use dom::document::DocumentHelpers; @@ -62,7 +62,7 @@ impl CSSStyleDeclaration { pub fn new(global: JSRef<Window>, owner: JSRef<HTMLElement>) -> Temporary<CSSStyleDeclaration> { reflect_dom_object(box CSSStyleDeclaration::new_inherited(owner), - global::Window(global), + GlobalRef::Window(global), CSSStyleDeclarationBinding::Wrap) } } |