bug 243809 M17rc2 mozilla crash at [@ nsHTMLEditor::CheckSelectionStateForAnonymousButtons]
r = daniel sr= jst
This commit is contained in:
Родитель
aed8a2d92d
Коммит
ed51c7e0ea
|
@ -203,6 +203,7 @@ nsHTMLEditor::CheckSelectionStateForAnonymousButtons(nsISelection * aSelection)
|
|||
nsCOMPtr<nsIDOMElement> focusElement;
|
||||
// let's get the containing element of the selection
|
||||
nsresult res = GetSelectionContainer(getter_AddRefs(focusElement));
|
||||
if (!focusElement) return NS_OK;
|
||||
if (NS_FAILED(res)) return res;
|
||||
|
||||
// what's its tag?
|
||||
|
|
Загрузка…
Ссылка в новой задаче