Uniformise root() methods

They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable
and ResultRootable.
This commit is contained in:
Anthony Ramine 2015-04-27 17:50:50 +02:00
parent d7987e43c9
commit 7197052c0d
71 changed files with 122 additions and 139 deletions

View file

@ -13,7 +13,8 @@ use dom::bindings::codegen::InheritTypes::{ElementCast, EventTargetCast, HTMLEle
use dom::bindings::codegen::InheritTypes::{HTMLTextAreaElementDerived, HTMLFieldSetElementDerived};
use dom::bindings::codegen::InheritTypes::{KeyboardEventCast, TextDerived};
use dom::bindings::global::GlobalRef;
use dom::bindings::js::{JSRef, LayoutJS, Temporary, OptionalRootable};
use dom::bindings::js::{JSRef, LayoutJS, OptionalRootable, Rootable};
use dom::bindings::js::Temporary;
use dom::bindings::refcounted::Trusted;
use dom::document::{Document, DocumentHelpers};
use dom::element::{Element, AttributeHandlers};