Bug 515229: Remove unused method nsHTMLSelectElement::DispatchDOMEvent. r=smaug

This commit is contained in:
Daniel Holbert 2009-09-08 13:41:33 -07:00
parent c4281a0111
commit 7286ec43f3
2 changed files with 0 additions and 15 deletions

View File

@ -1649,14 +1649,6 @@ nsHTMLSelectElement::GetHasOptGroups(PRBool* aHasGroups)
return NS_OK;
}
void
nsHTMLSelectElement::DispatchDOMEvent(const nsAString& aName)
{
nsContentUtils::DispatchTrustedEvent(GetOwnerDoc(),
static_cast<nsIContent*>(this),
aName, PR_TRUE, PR_TRUE);
}
void nsHTMLSelectElement::DispatchContentReset() {
nsIFormControlFrame* formControlFrame = GetFormControlFrame(PR_FALSE);
if (formControlFrame) {

View File

@ -442,13 +442,6 @@ protected:
*/
nsISelectControlFrame *GetSelectFrame();
/**
* Helper method for dispatching custom DOM events to our anonymous subcontent
* (for XBL form controls)
* @param aName the name of the event to dispatch
*/
void DispatchDOMEvent(const nsAString& aName);
/**
* Is this a combobox?
*/