Bug 345600, Crash [@ nsTextInputListener::UpdateTextInputCommands] using onselect and removing textarea, r+sr=roc

This commit is contained in:
Olli.Pettay%helsinki.fi 2006-07-26 07:58:18 +00:00
Родитель 4e8a83f25c
Коммит 599fed1d7e
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -540,6 +540,8 @@ nsTextInputListener::EditAction()
nsresult
nsTextInputListener::UpdateTextInputCommands(const nsAString& commandsToUpdate)
{
NS_ENSURE_STATE(mFrame);
nsIContent* content = mFrame->GetContent();
NS_ENSURE_TRUE(content, NS_ERROR_FAILURE);