зеркало из https://github.com/mozilla/gecko-dev.git
crash when doing multiple redo commands in Composer; r=brade, sr=peterv, a=sspitzer
This commit is contained in:
Родитель
6fb4e51cdf
Коммит
b55b32437c
|
@ -1033,6 +1033,7 @@ nsHTMLEditor::CheckResizingState(nsISelection *aSelection)
|
|||
}
|
||||
}
|
||||
|
||||
if (focusNode) {
|
||||
PRUint16 nodeType;
|
||||
focusNode->GetNodeType(&nodeType);
|
||||
if (nsIDOMNode::TEXT_NODE == nodeType) {
|
||||
|
@ -1042,8 +1043,6 @@ nsHTMLEditor::CheckResizingState(nsISelection *aSelection)
|
|||
focusNode = parent;
|
||||
}
|
||||
|
||||
if (focusNode) {
|
||||
|
||||
nsCOMPtr<nsIDOMElement>element;
|
||||
element = do_QueryInterface(focusNode);
|
||||
nsAutoString tagName;
|
||||
|
|
Загрузка…
Ссылка в новой задаче