Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D34201
This commit is contained in:
Boris Zbarsky
2019-06-08 21:26:12 +00:00
parent 95de682140
commit 8e16a497d9
63 changed files with 365 additions and 453 deletions

View File

@@ -1758,7 +1758,7 @@ void nsHtml5StreamParser::ContinueAfterScripts(nsHtml5Tokenizer* aTokenizer,
nsContentUtils::ReportToConsole(
nsIScriptError::warningFlag, NS_LITERAL_CSTRING("DOM Events"),
mExecutor->GetDocument(), nsContentUtils::eDOM_PROPERTIES,
"SpeculationFailed", nullptr, 0, nullptr, EmptyString(),
"SpeculationFailed", nsTArray<nsString>(), nullptr, EmptyString(),
speculation->GetStartLineNumber());
nsHtml5OwningUTF16Buffer* buffer = mFirstBuffer->next;