mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Rename JS<T> to Dom<T>
This commit is contained in:
parent
0e3c54c191
commit
7be32fb237
96 changed files with 494 additions and 494 deletions
|
@ -6,7 +6,7 @@ use dom::bindings::codegen::Bindings::PerformanceTimingBinding;
|
|||
use dom::bindings::codegen::Bindings::PerformanceTimingBinding::PerformanceTimingMethods;
|
||||
use dom::bindings::codegen::Bindings::WindowBinding::WindowMethods;
|
||||
use dom::bindings::reflector::{Reflector, reflect_dom_object};
|
||||
use dom::bindings::root::{JS, Root};
|
||||
use dom::bindings::root::{Dom, Root};
|
||||
use dom::document::Document;
|
||||
use dom::window::Window;
|
||||
use dom_struct::dom_struct;
|
||||
|
@ -16,7 +16,7 @@ pub struct PerformanceTiming {
|
|||
reflector_: Reflector,
|
||||
navigation_start: u64,
|
||||
navigation_start_precise: f64,
|
||||
document: JS<Document>,
|
||||
document: Dom<Document>,
|
||||
}
|
||||
|
||||
impl PerformanceTiming {
|
||||
|
@ -28,7 +28,7 @@ impl PerformanceTiming {
|
|||
reflector_: Reflector::new(),
|
||||
navigation_start: nav_start,
|
||||
navigation_start_precise: nav_start_precise,
|
||||
document: JS::from_ref(document),
|
||||
document: Dom::from_ref(document),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue