Bug 1207490 - Part 9: Remove use of expression closure from browser/modules/BrowserUITelemetry.jsm. r=Gijs
authorTooru Fujisawa <arai_a@mac.com>
Mon, 21 Sep 2015 02:32:16 +0900
changeset 265251 04ba29693dd501a1ec5d950e321039cb56344062
parent 265250 c2646cfe32bf65691d723d8bcd86b56dba704d92
child 265252 932cb872289f7fc9096fdf032d7da3155e7a8e3f
push id65891
push userarai_a@mac.com
push dateWed, 30 Sep 2015 16:36:04 +0000
treeherdermozilla-inbound@10194aec7255 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1207490
milestone44.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 1207490 - Part 9: Remove use of expression closure from browser/modules/BrowserUITelemetry.jsm. r=Gijs
browser/modules/BrowserUITelemetry.jsm
--- a/browser/modules/BrowserUITelemetry.jsm
+++ b/browser/modules/BrowserUITelemetry.jsm
@@ -708,28 +708,34 @@ this.BrowserUITelemetry = {
   },
 
   _bucket: BUCKET_DEFAULT,
   _bucketTimer: null,
 
   /**
    * Default bucket name, when no other bucket is active.
    */
-  get BUCKET_DEFAULT() BUCKET_DEFAULT,
+  get BUCKET_DEFAULT() {
+    return BUCKET_DEFAULT;
+  },
 
   /**
    * Bucket prefix, for named buckets.
    */
-  get BUCKET_PREFIX() BUCKET_PREFIX,
+  get BUCKET_PREFIX() {
+    return BUCKET_PREFIX;
+  },
 
   /**
    * Standard separator to use between different parts of a bucket name, such
    * as primary name and the time step string.
    */
-  get BUCKET_SEPARATOR() BUCKET_SEPARATOR,
+  get BUCKET_SEPARATOR() {
+    return BUCKET_SEPARATOR;
+  },
 
   get currentBucket() {
     return this._bucket;
   },
 
   /**
    * Sets a named bucket for all countable events and select durections to be
    * put into.