diff options
author | Pale Moon <git-repo@palemoon.org> | 2015-03-22 16:54:12 +0100 |
---|---|---|
committer | Pale Moon <git-repo@palemoon.org> | 2015-03-22 16:54:12 +0100 |
commit | de6ce21afb841e8d9a14e06446f2c153189490fd (patch) | |
tree | 477d909e8c3aed3df6f76310cc90f34f3a86af68 /mobile | |
parent | 5ef85d50c54f743f6d95f360310b2a37ce5d2ff3 (diff) | |
download | palemoon-gre-de6ce21afb841e8d9a14e06446f2c153189490fd.tar.gz |
Remove Telemetry part3: remove calls to getHistogramById()
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/android/chrome/content/browser.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index c4bb58562..809745137 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -6763,6 +6763,7 @@ var RemoteDebugger = { } }; +// Telemetry : remove this. var Telemetry = { SHARED_PREF_TELEMETRY_ENABLED: "datareporting.telemetry.enabled", @@ -6776,8 +6777,6 @@ var Telemetry = { addData: function addData(aHistogramId, aValue) { let telemetry = Cc["@mozilla.org/base/telemetry;1"].getService(Ci.nsITelemetry); - let histogram = telemetry.getHistogramById(aHistogramId); - histogram.add(aValue); }, observe: function observe(aSubject, aTopic, aData) { |