summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB/IndexedDatabaseManager.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-04 16:15:59 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-04 16:15:59 +0200
commit33c8d5d9714ecf3a2730b3c509bd05d4fcf85ce4 (patch)
treedc4a08a681ddc451fbe27a20899749ec30a1dc2b /dom/indexedDB/IndexedDatabaseManager.cpp
parente6bb58fb96a16d6b447e18957393b65e715c3383 (diff)
downloadUXP-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/IndexedDatabaseManager.cpp')
-rw-r--r--dom/indexedDB/IndexedDatabaseManager.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/dom/indexedDB/IndexedDatabaseManager.cpp b/dom/indexedDB/IndexedDatabaseManager.cpp
index 2590b0127..f65381fe8 100644
--- a/dom/indexedDB/IndexedDatabaseManager.cpp
+++ b/dom/indexedDB/IndexedDatabaseManager.cpp
@@ -59,10 +59,8 @@
#include "mozilla/dom/IDBTransactionBinding.h"
#include "mozilla/dom/IDBVersionChangeEventBinding.h"
-#ifdef ENABLE_INTL_API
#include "nsCharSeparatedTokenizer.h"
#include "unicode/locid.h"
-#endif
#define IDB_STR "indexedDB"
@@ -430,7 +428,6 @@ IndexedDatabaseManager::Init()
Preferences::RegisterCallbackAndCall(MaxSerializedMsgSizePrefChangeCallback,
kPrefMaxSerilizedMsgSize);
-#ifdef ENABLE_INTL_API
const nsAdoptingCString& acceptLang =
Preferences::GetLocalizedCString("intl.accept_languages");
@@ -449,7 +446,6 @@ IndexedDatabaseManager::Init()
if (mLocale.IsEmpty()) {
mLocale.AssignLiteral("en_US");
}
-#endif
return NS_OK;
}
@@ -1088,7 +1084,6 @@ IndexedDatabaseManager::LoggingModePrefChangedCallback(
}
}
-#ifdef ENABLE_INTL_API
// static
const nsCString&
IndexedDatabaseManager::GetLocale()
@@ -1098,7 +1093,6 @@ IndexedDatabaseManager::GetLocale()
return idbManager->mLocale;
}
-#endif
NS_IMPL_ADDREF(IndexedDatabaseManager)
NS_IMPL_RELEASE_WITH_DESTROY(IndexedDatabaseManager, Destroy())