mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
#24468 Performance::queue_entries return the index of the added performance entry
This commit is contained in:
parent
faee09ffa9
commit
91287216f5
4 changed files with 20 additions and 26 deletions
|
@ -3889,10 +3889,9 @@ impl ScriptThread {
|
|||
metric_type,
|
||||
metric_value,
|
||||
);
|
||||
window.Performance().queue_entry(
|
||||
&entry.upcast::<PerformanceEntry>(),
|
||||
true, /* buffer performance entry */
|
||||
);
|
||||
window
|
||||
.Performance()
|
||||
.queue_entry(&entry.upcast::<PerformanceEntry>());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue