diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 16:15:59 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 16:15:59 +0200 |
commit | 33c8d5d9714ecf3a2730b3c509bd05d4fcf85ce4 (patch) | |
tree | dc4a08a681ddc451fbe27a20899749ec30a1dc2b /dom/indexedDB/Key.cpp | |
parent | e6bb58fb96a16d6b447e18957393b65e715c3383 (diff) | |
download | UXP-33c8d5d9714ecf3a2730b3c509bd05d4fcf85ce4.tar UXP-33c8d5d9714ecf3a2730b3c509bd05d4fcf85ce4.tar.gz UXP-33c8d5d9714ecf3a2730b3c509bd05d4fcf85ce4.tar.lz UXP-33c8d5d9714ecf3a2730b3c509bd05d4fcf85ce4.tar.xz UXP-33c8d5d9714ecf3a2730b3c509bd05d4fcf85ce4.zip |
Issue #325 Part 7: Remove non-Intl legacy code paths from IndexedDB.
Diffstat (limited to 'dom/indexedDB/Key.cpp')
-rw-r--r-- | dom/indexedDB/Key.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dom/indexedDB/Key.cpp b/dom/indexedDB/Key.cpp index 945320dd5..0f693b2c6 100644 --- a/dom/indexedDB/Key.cpp +++ b/dom/indexedDB/Key.cpp @@ -22,9 +22,7 @@ #include "ReportInternalError.h" #include "xpcpublic.h" -#ifdef ENABLE_INTL_API #include "unicode/ucol.h" -#endif namespace mozilla { namespace dom { @@ -108,7 +106,6 @@ namespace indexedDB { [1, 2] // 0x60 bf f0 0 0 0 0 0 0 0x10 c0 [[]] // 0x80 */ -#ifdef ENABLE_INTL_API nsresult Key::ToLocaleBasedKey(Key& aTarget, const nsCString& aLocale) const { @@ -202,7 +199,6 @@ Key::ToLocaleBasedKey(Key& aTarget, const nsCString& aLocale) const aTarget.TrimBuffer(); return NS_OK; } -#endif nsresult Key::EncodeJSValInternal(JSContext* aCx, JS::Handle<JS::Value> aVal, @@ -483,7 +479,6 @@ Key::EncodeAsString(const T* aStart, const T* aEnd, uint8_t aType) NS_ASSERTION(buffer == mBuffer.EndReading(), "Wrote wrong number of bytes"); } -#ifdef ENABLE_INTL_API nsresult Key::EncodeLocaleString(const nsDependentString& aString, uint8_t aTypeOffset, const nsCString& aLocale) @@ -522,7 +517,6 @@ Key::EncodeLocaleString(const nsDependentString& aString, uint8_t aTypeOffset, aTypeOffset); return NS_OK; } -#endif // static nsresult |