diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-04-27 17:50:50 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-04-28 09:22:45 +0200 |
commit | 7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb (patch) | |
tree | bb743513a335b0221e0c7c580175c16f7a42c736 /components/script/dom/location.rs | |
parent | d7987e43c944eb9b156bf3244c08fce4cb570db4 (diff) | |
download | servo-7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb.tar.gz servo-7197052c0dd69eafb5331ba1c0d23f2afaa7f7eb.zip |
Uniformise root() methods
They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable
and ResultRootable.
Diffstat (limited to 'components/script/dom/location.rs')
-rw-r--r-- | components/script/dom/location.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/location.rs b/components/script/dom/location.rs index 7e937baef18..97da0a3066a 100644 --- a/components/script/dom/location.rs +++ b/components/script/dom/location.rs @@ -5,7 +5,7 @@ use dom::bindings::codegen::Bindings::LocationBinding; use dom::bindings::codegen::Bindings::LocationBinding::LocationMethods; use dom::bindings::global::GlobalRef; -use dom::bindings::js::{JS, JSRef, Temporary}; +use dom::bindings::js::{JS, JSRef, Rootable, Temporary}; use dom::bindings::str::USVString; use dom::bindings::utils::{Reflector, reflect_dom_object}; use dom::urlhelper::UrlHelper; |