mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Bug 1703334 - nsCOMPtr elem in DOMLocalization::ApplyTranslations(). r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D115504
This commit is contained in:
parent
8922b5b8aa
commit
d2ce87269b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user