summaryrefslogtreecommitdiff
path: root/common/content/style.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2008-12-17 16:41:54 -0500
committerKris Maglione <maglione.k@gmail.com>2008-12-17 16:41:54 -0500
commit6a04a6e7cfcefa185364d3e26fb69a4148cb2b56 (patch)
tree16c3cd5c762b3040ace6f3a403b3168539055e3f /common/content/style.js
parent1ffb5e90adcdfa19f2babf619b02aa06ddd83026 (diff)
downloadpentadactyl-6a04a6e7cfcefa185364d3e26fb69a4148cb2b56.tar.gz
Add 'const service'
Diffstat (limited to 'common/content/style.js')
-rw-r--r--common/content/style.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/style.js b/common/content/style.js
index ea4b5533..da30349e 100644
--- a/common/content/style.js
+++ b/common/content/style.js
@@ -212,8 +212,8 @@ function Styles(name, store, serial)
const util = modules.util;
const sleep = liberator.sleep;
const storage = modules.storage;
- const consoleService = Cc["@mozilla.org/consoleservice;1"].getService(Ci.nsIConsoleService);
- const ios = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
+ const consoleService = service.console;
+ const ios = service.io;
const sss = Cc["@mozilla.org/content/style-sheet-service;1"].getService(Ci.nsIStyleSheetService);
const namespace = '@namespace html "' + XHTML + '";\n' +
'@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";\n' +