зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1199643 - Fix unsafe use of PerformanceGroup. r=jandem
--HG-- extra : transplant_source : %C6%29Z%EE%CE%01%9B%D6%E6%07%20%ADl1%A8%D8%C6%9E%05%06
This commit is contained in:
Родитель
2be1d3e641
Коммит
ac0d28842d
|
@ -333,7 +333,7 @@ IterPerformanceStats(JSContext* cx,
|
|||
continue;
|
||||
}
|
||||
js::AutoCompartment autoCompartment(cx, compartment);
|
||||
PerformanceGroup* group = compartment->performanceMonitoring.getSharedGroup(cx);
|
||||
mozilla::RefPtr<PerformanceGroup> group = compartment->performanceMonitoring.getSharedGroup(cx);
|
||||
if (group->data.ticks == 0) {
|
||||
// Don't report compartments that have never been used.
|
||||
continue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче