| Index: lib/utils.js |
| =================================================================== |
| --- a/lib/utils.js |
| +++ b/lib/utils.js |
| @@ -599,17 +599,17 @@ XPCOMUtils.defineLazyServiceGetter(Utils |
| XPCOMUtils.defineLazyServiceGetter(Utils, "dateFormatter", "@mozilla.org/intl/scriptabledateformat;1", "nsIScriptableDateFormat"); |
| XPCOMUtils.defineLazyServiceGetter(Utils, "httpProtocol", "@mozilla.org/network/protocol;1?name=http", "nsIHttpProtocolHandler"); |
| XPCOMUtils.defineLazyServiceGetter(Utils, "clipboard", "@mozilla.org/widget/clipboard;1", "nsIClipboard"); |
| XPCOMUtils.defineLazyServiceGetter(Utils, "clipboardHelper", "@mozilla.org/widget/clipboardhelper;1", "nsIClipboardHelper"); |
| XPCOMUtils.defineLazyGetter(Utils, "crypto", function() |
| { |
| try |
| { |
| - let ctypes = Components.utils.import("resource://gre/modules/ctypes.jsm", null).ctypes; |
| + let ctypes = Cu.import("resource://gre/modules/ctypes.jsm", null).ctypes; |
| let nsslib; |
| try |
| { |
| nsslib = ctypes.open(ctypes.libraryName("nss3")); |
| } |
| catch (e) |
| { |