On Thu, 21 Jun 2001, Adam Lock wrote:
> A lot of the interfaces in layout seem to follow their own rules as
> regards refcounting.
>
> Do we have bugs to cover this? Even if refcounting doesn't change it
> would help if interfaces were renamed so it was more obvious that they
> didn't follow the rules. e.g. nsUView. Where the U indicates unreferenced.
I don't see any need for these interfaces to inherit from nsISupports.
They could probably be changed nsAFrame and nsAView (and could continue to
have a QueryInterface method) without too much work, although (based on a
discussion I had with hyatt about this) there would be some issues with
frames that implement interfaces that are expected to be refcounted (which
they shouldn't be doing).
-David
--
L. David Baron <URL: http://www.people.fas.harvard.edu/~dbaron/ >
Mozilla Contributor <URL: http://www.mozilla.org/ >
Invited Expert, W3C CSS WG <URL: http://www.w3.org/Style/CSS/ >