mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Uniformise root() methods
They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
This commit is contained in:
parent
d7987e43c9
commit
7197052c0d
71 changed files with 122 additions and 139 deletions
|
@ -11,7 +11,8 @@ use dom::bindings::codegen::InheritTypes::{CharacterDataCast, TextDerived};
|
|||
use dom::bindings::codegen::InheritTypes::NodeCast;
|
||||
use dom::bindings::error::{Error, Fallible};
|
||||
use dom::bindings::global::GlobalRef;
|
||||
use dom::bindings::js::{JSRef, OptionalRootable, RootedReference, Temporary};
|
||||
use dom::bindings::js::{JSRef, OptionalRootable, Rootable, RootedReference};
|
||||
use dom::bindings::js::Temporary;
|
||||
use dom::characterdata::{CharacterData, CharacterDataHelpers};
|
||||
use dom::document::Document;
|
||||
use dom::eventtarget::{EventTarget, EventTargetTypeId};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue