The method "nsHTMLSelectElement::DispatchDOMEvent" causes a build warning because it hides an inherited method: > /mozilla/content/html/content/src/../../../base/src/nsGenericElement.h:363: warning: ‘virtual nsresult nsGenericElement::DispatchDOMEvent(nsEvent*, nsIDOMEvent*, nsPresContext*, nsEventStatus*)’ was hidden > mozilla/content/html/content/src/nsHTMLSelectElement.h:450: warning: by ‘void nsHTMLSelectElement::DispatchDOMEvent(const nsAString_internal&)’ In fact, the method isn't actually used anymore -- its last use was removed in the first patch for bug 430214 -- http://hg.mozilla.org/mozilla-central/rev/36a1bd4eedfc (Furthermore, it looks like just a simple one-liner convenience method -- doesn't do anything special.) Filing this bug on deleting the method.
Created attachment 399287 [details] [diff] [review] fix
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #399287 - Flags: review?(Olli.Pettay)
Attachment #399287 - Flags: review?(Olli.Pettay) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.