mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 798677, make sure events are fully handled in editor, r=ehsan
This commit is contained in:
parent
26c63deaa6
commit
e919ea63a6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user