Skip to content
Snippets Groups Projects
Verified Commit c152f2c2 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

Revert "Bug 42378: Apply spoof English to the default detail summary."

This reverts commit bdfc4f4c.
parent f8451ae0
No related branches found
No related tags found
1 merge request!942Bug 42378: Replace our commit with the one from upstream
......@@ -105,9 +105,8 @@ void HTMLDetailsElement::SetupShadowTree() {
}
nsAutoString defaultSummaryText;
nsContentUtils::GetMaybeLocalizedString(nsContentUtils::eFORMS_PROPERTIES,
"DefaultSummary", OwnerDoc(),
defaultSummaryText);
nsContentUtils::GetLocalizedString(nsContentUtils::eFORMS_PROPERTIES,
"DefaultSummary", defaultSummaryText);
RefPtr<nsTextNode> description = new (nim) nsTextNode(nim);
description->SetText(defaultSummaryText, kNotify);
summary->AppendChildTo(description, kNotify, IgnoreErrors());
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment