Bug 798677, make sure events are fully handled in editor, r=ehsan

This commit is contained in:
Olli Pettay 2012-10-21 15:35:47 +03:00
parent 26c63deaa6
commit e919ea63a6

View File

@ -284,6 +284,7 @@ NS_IMETHODIMP
nsEditorEventListener::HandleEvent(nsIDOMEvent* aEvent)
{
NS_ENSURE_TRUE(mEditor, NS_ERROR_NOT_AVAILABLE);
nsCOMPtr<nsIEditor> kungFuDeathGrip = mEditor;
nsAutoString eventType;
aEvent->GetType(eventType);