Closed
Bug 105072
Opened 24 years ago
Closed 24 years ago
nsIClassicPluginFactory interface changed after my checkin
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dougt, Assigned: dougt)
Details
Attachments
(1 file)
2.75 KB,
patch
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•24 years ago
|
||
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.
Assignee | ||
Comment 2•24 years ago
|
||
Assignee | ||
Comment 3•24 years ago
|
||
Patrick, can you review this change?
Comment 4•24 years ago
|
||
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.
Assignee | ||
Comment 5•24 years ago
|
||
checked in. thanks
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You won't also need a cast in nsPluginClassicModule.cpp?
Assignee | ||
Comment 7•24 years ago
|
||
hmm? where?
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•