Backed out changeset 00e918528ce0 (bug 1388608) for build bustage a=backout CLOSED TREE
authorWes Kocher <wkocher@mozilla.com>
Wed, 16 Aug 2017 16:22:30 -0700
changeset 647860 a70656b32be56bd48e54d5f4bba258d3694158d0
parent 647800 741cffe9c1d8d734ff8e9d27dc3de7369b222213
child 647861 dfcc8657b7253a448d02a22eea8a49f19bd56000
push id74569
push userbmo:topwu.tw@gmail.com
push dateThu, 17 Aug 2017 01:40:57 +0000
reviewersbackout
bugs1388608
milestone57.0a1
backs out00e918528ce08cf5ddb61a46692bc04aed95e911
Backed out changeset 00e918528ce0 (bug 1388608) for build bustage a=backout CLOSED TREE MozReview-Commit-ID: H6g0kvzH6tT
xpcom/threads/nsThread.cpp
--- a/xpcom/threads/nsThread.cpp
+++ b/xpcom/threads/nsThread.cpp
@@ -1556,19 +1556,16 @@ nsThread::ProcessNextEvent(bool aMayWait
 
         // Copy the name into sMainThreadRunnableName's buffer, and append a
         // terminating null.
         uint32_t length = std::min((uint32_t) kRunnableNameBufSize - 1,
                                    (uint32_t) name.Length());
         memcpy(sMainThreadRunnableName.begin(), name.BeginReading(), length);
         sMainThreadRunnableName[length] = '\0';
       }
-
-      AUTO_PROFILER_LABEL_DYNAMIC("nsThread::ProcessNextEvent", EVENTS,
-                                  name.get());
 #endif
       Maybe<AutoTimeDurationHelper> timeDurationHelper;
       if (priority == nsIRunnablePriority::PRIORITY_INPUT) {
         timeDurationHelper.emplace();
       }
       event->Run();
     } else if (aMayWait) {
       MOZ_ASSERT(ShuttingDown(),