Closed Bug 105072 Opened 24 years ago Closed 24 years ago

nsIClassicPluginFactory interface changed after my checkin

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dougt, Assigned: dougt)

Details

Attachments

(1 file)

nsIClassicPluginFactory is one of the interface that can't change iirc. It was modified last night after my checkin to fix a fizilla bustage. This fix needs to be backed out.
The error on the fizzilla build was: Error : cannot convert 'nsIServiceManagerObsolete *' to 'nsIServiceManager *' nsPluginHostImpl.cpp line 4228 &pluginTag->mEntryPoint); I think that a static cast to the (nsIServiceManager)from the obsolete class is what should work. Patching coming up.
Patrick, can you review this change?
r=beard. You know we really could have gotten away with just changing from nsIServiceManager to nsISupports, as that's the signature of NSGetFactory. A plugin mustn't assume a static cast will work, but should use QueryInterface. That's what the MRJ plugin does.
checked in. thanks
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You won't also need a cast in nsPluginClassicModule.cpp?
hmm? where?
.
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

Created:
Updated:
Size: