Fixing windows orange -- null-terminate the AttributeImpactArray or the while loop can keep going forever.
This commit is contained in:
Родитель
a78c38de8a
Коммит
a9be8bd59f
|
@ -313,6 +313,7 @@ nsHTMLFontElement::GetMappedAttributeImpact(const nsIAtom* aAttribute, PRInt32 a
|
|||
{ &nsHTMLAtoms::size, NS_STYLE_HINT_REFLOW },
|
||||
{ &nsHTMLAtoms::fontWeight, NS_STYLE_HINT_REFLOW },
|
||||
{ &nsHTMLAtoms::color, NS_STYLE_HINT_VISUAL },
|
||||
{ nsnull, NS_STYLE_HINT_NONE }
|
||||
};
|
||||
|
||||
static const AttributeImpactEntry* const map[] = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче