зеркало из https://github.com/mozilla/gecko-dev.git
backing out previous checking. it is busting one of the linuxes..
This commit is contained in:
Родитель
4321756b3f
Коммит
2001144c90
|
@ -1411,10 +1411,7 @@ nsHTMLEditor::RelativeFontChangeOnTextNode( PRInt32 aSizeChange,
|
|||
if (NS_FAILED(res)) return res;
|
||||
}
|
||||
|
||||
NS_NAMED_LITERAL_STRING(bigSize, "big");
|
||||
NS_NAMED_LITERAL_STRING(smallSize, "small");
|
||||
nsAutoString nodeType = (aSizeChange==1) ? bigSize : smallSize;
|
||||
|
||||
nsAutoString nodeType(aSizeChange==1 ? NS_LITERAL_STRING("big") : NS_LITERAL_STRING("small"));
|
||||
// look for siblings that are correct type of node
|
||||
nsCOMPtr<nsIDOMNode> sibling;
|
||||
GetPriorHTMLSibling(node, address_of(sibling));
|
||||
|
|
Загрузка…
Ссылка в новой задаче