Bug 1281793 - part 7 - Remove some non-used telemetry IDs - widget directory, r=gfritzsche

This commit is contained in:
Andrea Marchesini
2016-07-04 17:11:52 +02:00
parent 846517c790
commit 4b45cede4f
3 changed files with 0 additions and 38 deletions

View File

@@ -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) {