diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-06 09:11:39 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-06 09:11:39 -0500 |
commit | c09eca89e42978ebaacb7b618ba2994bce062502 (patch) | |
tree | 7d999a220440b161b8211bf256aa085a56aa3978 /toolkit/components/satchel/FormHistory.jsm | |
parent | 180543f6c37887cdb19c07cf47491b52154f1157 (diff) | |
download | UXP-c09eca89e42978ebaacb7b618ba2994bce062502.tar UXP-c09eca89e42978ebaacb7b618ba2994bce062502.tar.gz UXP-c09eca89e42978ebaacb7b618ba2994bce062502.tar.lz UXP-c09eca89e42978ebaacb7b618ba2994bce062502.tar.xz UXP-c09eca89e42978ebaacb7b618ba2994bce062502.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, |