Bug 1207499 - Part 11: Remove use of expression closure from webapprt/. r=felipe
authorTooru Fujisawa <arai_a@mac.com>
Wed, 23 Sep 2015 18:42:19 +0900
changeset 265269 56d7babc614789c15a3349af2f78b01e44dcafb5
parent 265268 679b74f654b00f0e028cf0356776561166a1d69f
child 265270 73d2fd0abd3ff2a4fca39c6df3b38fc2cfacd2d3
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)
reviewersfelipe
bugs1207499
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 1207499 - Part 11: Remove use of expression closure from webapprt/. r=felipe
webapprt/content/webapp.js
--- a/webapprt/content/webapp.js
+++ b/webapprt/content/webapp.js
@@ -7,17 +7,17 @@ const Ci = Components.interfaces;
 const Cu = Components.utils;
 
 Cu.import("resource://webapprt/modules/WebappRT.jsm");
 Cu.import("resource://gre/modules/Services.jsm");
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 Cu.import("resource://gre/modules/Task.jsm");
 
 XPCOMUtils.defineLazyGetter(this, "gAppBrowser",
-                            function() document.getElementById("content"));
+                            () => document.getElementById("content"));
 
 #ifdef MOZ_CRASHREPORTER
 XPCOMUtils.defineLazyServiceGetter(this, "gCrashReporter",
                                    "@mozilla.org/toolkit/crash-reporter;1",
                                    "nsICrashReporter");
 #endif
 
 var progressListener = {