Bug 1703334 - nsCOMPtr elem in DOMLocalization::ApplyTranslations(). r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D115504
This commit is contained in:
Andrew McCreight 2021-06-16 14:55:27 +00:00
parent 8922b5b8aa
commit d2ce87269b

View File

@ -479,7 +479,7 @@ bool DOMLocalization::ApplyTranslations(
nsTArray<L10nOverlaysError> errors;
for (size_t i = 0; i < aTranslations.Length(); ++i) {
Element* elem = aElements[i];
nsCOMPtr elem = aElements[i];
if (aTranslations[i].IsNull()) {
hasMissingTranslation = true;
continue;