diff --git a/services/sync/modules/engines/bookmarks.js b/services/sync/modules/engines/bookmarks.js index 9e27067fd07..a69a5b65009 100644 --- a/services/sync/modules/engines/bookmarks.js +++ b/services/sync/modules/engines/bookmarks.js @@ -46,7 +46,12 @@ const PARENT_ANNO = "weave/parent"; const PREDECESSOR_ANNO = "weave/predecessor"; const SERVICE_NOT_SUPPORTED = "Service not supported on this platform"; -Cu.import("resource://gre/modules/utils.js"); +try { + Cu.import("resource://gre/modules/PlacesUtils.jsm"); +} +catch(ex) { + Cu.import("resource://gre/modules/utils.js"); +} Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import("resource://weave/ext/Observers.js"); Cu.import("resource://weave/util.js");