Give nsImageLoadingContent and nsObjectLoadingContent a QueryInterface method

NEW
Unassigned

Status

()

Core
DOM
12 years ago
6 years ago

People

(Reporter: Biesinger, Unassigned)

Tracking

({footprint})

Trunk
footprint
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Currently, if nsImageLoadingContent or nsObjectLoadingContent want to implement a new interface, the QueryInterface impls of all subclasses have to be changed. This is also some code duplication. Instead, these two classes should maybe have their own QueryInterface method that handles their interfaces, and subclasses just call that.

This might be a bit problematic because subclasses may want to call various superclass's QI methods (nsGenericHTMLElement or something).
jst, what do you think of adding a macro to do something like this?
Assignee: general → nobody
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.