Bug 1281793 - part 7 - Remove some non-used telemetry IDs - widget directory, r=gfritzsche
This commit is contained in:
@@ -543,7 +543,6 @@ nsIdleService::ResetIdleTimeOut(uint32_t idleDeltaInMS)
|
||||
}
|
||||
|
||||
// Mark all idle services as non-idle, and calculate the next idle timeout.
|
||||
Telemetry::AutoTimer<Telemetry::IDLE_NOTIFY_BACK_MS> timer;
|
||||
nsCOMArray<nsIObserver> notifyList;
|
||||
mDeltaToNextIdleSwitchInS = UINT32_MAX;
|
||||
|
||||
@@ -569,8 +568,6 @@ nsIdleService::ResetIdleTimeOut(uint32_t idleDeltaInMS)
|
||||
ReconfigureTimer();
|
||||
|
||||
int32_t numberOfPendingNotifications = notifyList.Count();
|
||||
Telemetry::Accumulate(Telemetry::IDLE_NOTIFY_BACK_LISTENERS,
|
||||
numberOfPendingNotifications);
|
||||
|
||||
// Bail if nothing to do.
|
||||
if (!numberOfPendingNotifications) {
|
||||
@@ -755,8 +752,6 @@ nsIdleService::IdleTimerCallback(void)
|
||||
ReconfigureTimer();
|
||||
|
||||
int32_t numberOfPendingNotifications = notifyList.Count();
|
||||
Telemetry::Accumulate(Telemetry::IDLE_NOTIFY_IDLE_LISTENERS,
|
||||
numberOfPendingNotifications);
|
||||
|
||||
// Bail if nothing to do.
|
||||
if (!numberOfPendingNotifications) {
|
||||
|
||||
Reference in New Issue
Block a user