Bug 732970 - Fix thinko in persistent telemetry merge. r=taras
authorNathan Froyd <froydnj@mozilla.com>
Mon, 05 Mar 2012 11:59:57 -0500
changeset 88339 54a7b61b95355a30bc79f2ed511a77710e854f27
parent 88338 4df4dcacedef255bac787b694b1e7b66c59dcc84
child 88340 2fbc7d9ac670dfa2dcfb1d9386356d41bfcaf69c
push id22194
push usermak77@bonardo.net
push dateWed, 07 Mar 2012 09:33:54 +0000
treeherdermozilla-central@8ef88a69f861 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstaras
bugs732970
milestone13.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 732970 - Fix thinko in persistent telemetry merge. r=taras
toolkit/components/telemetry/TelemetryPing.js
--- a/toolkit/components/telemetry/TelemetryPing.js
+++ b/toolkit/components/telemetry/TelemetryPing.js
@@ -234,18 +234,17 @@ TelemetryPing.prototype = {
     }
 
     // add an upper bound
     if (last && last < c.length)
       retgram.values[r[last]] = 0;
     return retgram;
   },
 
-  getHistograms: function getHistograms() {
-    let hls = Telemetry.histogramSnapshots;
+  getHistograms: function getHistograms(hls) {
     let info = Telemetry.registeredHistograms;
     let ret = {};
 
     for (let name in hls) {
       if (info[name]) {
         ret[name] = this.packHistogram(hls[name]);
         let startup_name = "STARTUP_" + name;
         if (hls[startup_name])