#24468 Performance::queue_entries return the index of the added performance entry

This commit is contained in:
Shinichi Morimoto 2019-12-08 00:34:02 +09:00 committed by Josh Matthews
parent faee09ffa9
commit 91287216f5
4 changed files with 20 additions and 26 deletions

View file

@ -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>());
}
}