Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com

git-svn-id: svn://10.0.0.236/trunk@170153 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.jstenback.com
2005-03-04 02:01:54 +00:00
parent fb2068ae7b
commit 07f72886c9
25 changed files with 164 additions and 157 deletions

View File

@@ -651,8 +651,8 @@ FirePluginNotFoundEvent(nsIContent *aTarget)
rv = event->InitEvent(NS_LITERAL_STRING("PluginNotFound"), PR_TRUE,
PR_TRUE);
if (NS_SUCCEEDED(rv)) {
PRBool unused;
target->DispatchEvent(event, &unused);
PRBool defaultActionEnabled;
target->DispatchEvent(event, &defaultActionEnabled);
}
}
}