Bug 1509469 Remove unused ContentAreaUtils.ioService r=dao
authorHrushikesh Bodas <hrushikeshcoc@gmail.com>
Sat, 01 Dec 2018 15:05:59 +0000
changeset 449108 cec3942679044e0372823429292aada0157a8875
parent 449107 ac75e40dd2ab684d8bbf074ec677db2d77c93055
child 449109 40bf513c2e6101ada92b5645783b349383dbd1ea
push id74143
push userdgottwald@mozilla.com
push dateSat, 01 Dec 2018 15:06:34 +0000
treeherderautoland@cec394267904 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1509469
milestone65.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 1509469 Remove unused ContentAreaUtils.ioService r=dao Differential Revision: https://phabricator.services.mozilla.com/D13614
toolkit/content/contentAreaUtils.js
--- a/toolkit/content/contentAreaUtils.js
+++ b/toolkit/content/contentAreaUtils.js
@@ -14,22 +14,16 @@ XPCOMUtils.defineLazyModuleGetters(this,
   PrivateBrowsingUtils: "resource://gre/modules/PrivateBrowsingUtils.jsm",
   Services: "resource://gre/modules/Services.jsm",
   Deprecated: "resource://gre/modules/Deprecated.jsm",
   AppConstants: "resource://gre/modules/AppConstants.jsm",
   NetUtil: "resource://gre/modules/NetUtil.jsm",
 });
 
 var ContentAreaUtils = {
-
-  // this is for backwards compatibility.
-  get ioService() {
-    return Services.io;
-  },
-
   get stringBundle() {
     delete this.stringBundle;
     return this.stringBundle =
       Services.strings.createBundle("chrome://global/locale/contentAreaCommands.properties");
   },
 };
 
 function urlSecurityCheck(aURL, aPrincipal, aFlags) {