Bug 1410876 - Use AUTO_PROFILER_TRACING instead of AutoProfilerTracing
MozReview-Commit-ID: 55A1Aih6MzA
--- a/layout/base/nsLayoutUtils.cpp
+++ b/layout/base/nsLayoutUtils.cpp
@@ -4031,17 +4031,17 @@ nsLayoutUtils::PaintFrame(gfxContext* aR
// transaction because we wanted to update plugins first. Schedule the
// composite now.
if (layerManager) {
layerManager->ScheduleComposite();
}
}
{
- AutoProfilerTracing tracing("Paint", "DisplayListResources");
+ AUTO_PROFILER_TRACING("Paint", "DisplayListResources");
// Flush the list so we don't trigger the IsEmpty-on-destruction assertion
if (!retainedBuilder) {
list.DeleteAll(&builder);
builder.EndFrame();
} else {
builder.EndFrame();
}