Closed Bug 89076 Opened 23 years ago Closed 23 years ago

remove unnecessary methods from nsIObjectFrame

Categories

(Core Graveyard :: Plug-ins, defect, P4)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.3

People

(Reporter: waterson, Assigned: waterson)

References

Details

Attachments

(1 file)

Somehow nsIObjectFrame wound up with a bunch of nsIFrame methods that it doesn't
really want to expose to the outside world. Here is a patch to remove them.
Status: NEW → ASSIGNED
Priority: -- → P4
Target Milestone: --- → mozilla0.9.3
Blocks: 88998
Keywords: patch
r=dbaron if it compiles without any other changes...
heikki, I just realized that you checked in nsIObjectFrame.h. Why did you expose
all of the nsIFrame methods there? The only relevant method that's used outside
layout seems to be |GetPluginInstance()|.
I probably didn't think it through... But the frames are so strange that I might
have decided to go with full member list to be on the safe side (with all the
typecasts, no refcounts etc.).

I think this same problem might be found in nsIImageFrame.
sr=attinasi
Fix checked in. I'll file another bug for nsIImageFrame.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
v
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: