mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Issue #325 Part 7: Remove non-Intl legacy code paths from IndexedDB.
This commit is contained in:
parent
3f6fb7bb4a
commit
d4d0fbf3d5
9 changed files with 1 additions and 58 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue