Bug 1410876 - Use AUTO_PROFILER_TRACING instead of AutoProfilerTracing r=mattwoodrow
authorMiko Mynttinen <mikokm@gmail.com>
Mon, 23 Oct 2017 15:07:53 +0200
changeset 387804 e1bcd28b3323bb1932b7c0dc895a653057a69ae9
parent 387803 d2edccc49998aa5ddc9bb242f7115b5ba3367f28
child 387805 2bb423b449371ceaa7496347763b6fac6e0dd649
push id96497
push userarchaeopteryx@coole-files.de
push dateTue, 24 Oct 2017 09:57:53 +0000
treeherdermozilla-inbound@7de3cc48b5b1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs1410876
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1410876 - Use AUTO_PROFILER_TRACING instead of AutoProfilerTracing r=mattwoodrow MozReview-Commit-ID: 55A1Aih6MzA
layout/base/nsLayoutUtils.cpp
--- 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();
     }