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/window.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/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index f8c468e14fc..70046185981 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -14,7 +14,7 @@ use dom::bindings::error::{report_pending_exception, Fallible}; use dom::bindings::error::Error::InvalidCharacter; use dom::bindings::global::GlobalRef; use dom::bindings::js::{JS, JSRef, MutNullableHeap, OptionalRootable}; -use dom::bindings::js::{RootedReference, Temporary}; +use dom::bindings::js::{Rootable, RootedReference, Temporary}; use dom::bindings::utils::{GlobalStaticData, Reflectable, WindowProxyHandler}; use dom::browsercontext::BrowserContext; use dom::console::Console; |