static void ChromeHangAnnotatorCallout(ChromeHangAnnotations& aAnnotations) { gMonitor->AssertCurrentThreadOwns(); MOZ_ASSERT(gAnnotators); if (!gAnnotators) { return; } for (std::set<Annotator*>::iterator i = gAnnotators->begin(), e = gAnnotators->end(); i != e; ++i) { (*i)->AnnotateHang(aAnnotations); } }