Bug 689194 - Load ctypes.jsm in Fennec Contacts code only when it's needed [r=mfinkle]

This commit is contained in:
Matt Brubeck 2011-09-26 10:45:42 -07:00
parent 65706f0f22
commit f48850d85e

View File

@ -38,8 +38,6 @@ let EXPORTED_SYMBOLS = ["Contacts"];
const Cu = Components.utils;
Cu.import("resource://gre/modules/ctypes.jsm");
let Contacts = {
_providers: [],
_contacts: [],
@ -88,6 +86,7 @@ let Contacts = {
#ifndef ANDROID
#ifndef XP_MACOSX
#ifdef XP_UNIX
Cu.import("resource://gre/modules/ctypes.jsm");
Cu.import("resource:///modules/linuxTypes.jsm");
function EBookProvider() {