1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 12:07:59 +01:00

Add "io" to the services cache.

This commit is contained in:
Doug Kearns
2009-01-05 21:47:49 +11:00
parent 49e0c091c1
commit 698cdb19c2
5 changed files with 14 additions and 15 deletions

View File

@@ -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);
},
/**