mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Add paint metrics to Performance Timeline API
This commit is contained in:
parent
1c9c0334ba
commit
2d0037f195
15 changed files with 152 additions and 20 deletions
|
@ -21,10 +21,10 @@ pub struct PerformanceEntry {
|
|||
}
|
||||
|
||||
impl PerformanceEntry {
|
||||
fn new_inherited(name: DOMString,
|
||||
entry_type: DOMString,
|
||||
start_time: f64,
|
||||
duration: f64) -> PerformanceEntry {
|
||||
pub fn new_inherited(name: DOMString,
|
||||
entry_type: DOMString,
|
||||
start_time: f64,
|
||||
duration: f64) -> PerformanceEntry {
|
||||
PerformanceEntry {
|
||||
reflector_: Reflector::new(),
|
||||
name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue