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/script_task.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/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 0fbdf0f5926..e865976f2ae 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -24,8 +24,9 @@ use dom::bindings::codegen::Bindings::DocumentBinding::{DocumentMethods, Documen use dom::bindings::codegen::InheritTypes::{ElementCast, EventTargetCast, HTMLIFrameElementCast, NodeCast, EventCast}; use dom::bindings::conversions::FromJSValConvertible; use dom::bindings::conversions::StringificationBehavior; -use dom::bindings::js::{JS, JSRef, Temporary, OptionalRootable, RootedReference}; -use dom::bindings::js::{RootCollection, RootCollectionPtr}; +use dom::bindings::js::{JS, JSRef, OptionalRootable, RootCollection}; +use dom::bindings::js::{RootCollectionPtr, Rootable, RootedReference}; +use dom::bindings::js::Temporary; use dom::bindings::refcounted::{LiveDOMReferences, Trusted, TrustedReference}; use dom::bindings::structuredclone::StructuredCloneData; use dom::bindings::trace::{JSTraceable, trace_collections, RootedVec}; |