diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-06 09:11:39 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:38:14 +0200 |
commit | 113a825c1f87263ef7e322c31084d00821edbef3 (patch) | |
tree | d5630ed2f85a339682d3d8dc7ea0b483d0e0491d /toolkit/components/satchel/FormHistory.jsm | |
parent | 419abfb09f4ab5aac0f4e315c0dd20716e6fe29b (diff) | |
download | UXP-113a825c1f87263ef7e322c31084d00821edbef3.tar UXP-113a825c1f87263ef7e322c31084d00821edbef3.tar.gz UXP-113a825c1f87263ef7e322c31084d00821edbef3.tar.lz UXP-113a825c1f87263ef7e322c31084d00821edbef3.tar.xz UXP-113a825c1f87263ef7e322c31084d00821edbef3.zip |
Issue #65 - Remove AppConstants from toolkit/components/satchel
Diffstat (limited to 'toolkit/components/satchel/FormHistory.jsm')
-rw-r--r-- | toolkit/components/satchel/FormHistory.jsm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/toolkit/components/satchel/FormHistory.jsm b/toolkit/components/satchel/FormHistory.jsm index 3d4a9fc43..ca9a28f1f 100644 --- a/toolkit/components/satchel/FormHistory.jsm +++ b/toolkit/components/satchel/FormHistory.jsm @@ -91,7 +91,6 @@ const Cr = Components.results; Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); Components.utils.import("resource://gre/modules/Services.jsm"); -Components.utils.import("resource://gre/modules/AppConstants.jsm"); XPCOMUtils.defineLazyServiceGetter(this, "uuidService", "@mozilla.org/uuid-generator;1", @@ -102,7 +101,11 @@ const DAY_IN_MS = 86400000; // 1 day in milliseconds const MAX_SEARCH_TOKENS = 10; const NOOP = function noop() {}; -var supportsDeletedTable = AppConstants.platform == "android"; +#ifdef MOZ_WIDGET_ANDROID +var supportsDeletedTable = true; +#else +var supportsDeletedTable = false; +#endif var Prefs = { initialized: false, |