mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1289211 - Rename InfallibleTArray to nsTArray in modules/ r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D36965 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
cafb5a8bb7
commit
02c0b80c16
@ -3391,7 +3391,7 @@ class AddPreferencesMemoryReporterRunnable : public Runnable {
|
||||
} // namespace
|
||||
|
||||
// A list of changed prefs sent from the parent via shared memory.
|
||||
static InfallibleTArray<dom::Pref>* gChangedDomPrefs;
|
||||
static nsTArray<dom::Pref>* gChangedDomPrefs;
|
||||
|
||||
static const char kTelemetryPref[] = "toolkit.telemetry.enabled";
|
||||
static const char kChannelPref[] = "app.update.channel";
|
||||
@ -3685,7 +3685,7 @@ void Preferences::DeserializePreferences(char* aStr, size_t aPrefsLen) {
|
||||
MOZ_ASSERT(!XRE_IsParentProcess());
|
||||
|
||||
MOZ_ASSERT(!gChangedDomPrefs);
|
||||
gChangedDomPrefs = new InfallibleTArray<dom::Pref>();
|
||||
gChangedDomPrefs = new nsTArray<dom::Pref>();
|
||||
|
||||
char* p = aStr;
|
||||
while (*p != '\0') {
|
||||
|
Loading…
Reference in New Issue
Block a user