Bug 345600, Crash [@ nsTextInputListener::UpdateTextInputCommands] using onselect and removing textarea, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@203722 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user