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
|
@ -16,7 +16,8 @@ use dom::bindings::codegen::InheritTypes::{HTMLScriptElementDerived, HTMLScriptE
|
|||
use dom::bindings::codegen::InheritTypes::{ElementCast, HTMLElementCast, NodeCast};
|
||||
use dom::bindings::codegen::InheritTypes::EventTargetCast;
|
||||
use dom::bindings::global::GlobalRef;
|
||||
use dom::bindings::js::{JS, JSRef, Temporary, OptionalRootable, RootedReference};
|
||||
use dom::bindings::js::{JS, JSRef, Temporary, OptionalRootable, Rootable};
|
||||
use dom::bindings::js::RootedReference;
|
||||
use dom::bindings::refcounted::Trusted;
|
||||
use dom::bindings::trace::JSTraceable;
|
||||
use dom::document::{Document, DocumentHelpers};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue