summaryrefslogtreecommitdiff
path: root/common/content/util.js
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2009-01-05 21:47:49 +1100
committerDoug Kearns <dougkearns@gmail.com>2009-01-05 21:47:49 +1100
commit698cdb19c20ca960bfc722509d3bfd2bb456f14e (patch)
treef243d7623427f8b652b17dc95ee1fc68f792ef81 /common/content/util.js
parent49e0c091c1c088b3e5af04759f09d1b3e64e5c2f (diff)
downloadpentadactyl-698cdb19c20ca960bfc722509d3bfd2bb456f14e.tar.gz
Add "io" to the services cache.
Diffstat (limited to 'common/content/util.js')
-rw-r--r--common/content/util.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/content/util.js b/common/content/util.js
index fa6d5df3..53c8c31a 100644
--- a/common/content/util.js
+++ b/common/content/util.js
@@ -434,8 +434,7 @@ const util = { //{{{
// FIXME: createURI needed too?
newURI: function (uri)
{
- const ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
- return ioService.newURI(uri, null, null);
+ return services.get("io").newURI(uri, null, null);
},
/**