mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 689194 - Load ctypes.jsm in Fennec Contacts code only when it's needed [r=mfinkle]
This commit is contained in:
parent
65706f0f22
commit
f48850d85e
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user