зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1541677, part 2 - Remove the unused XPIDL version of GetInterfaceInfo. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D26066 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2f250e281e
Коммит
ec3b52a535
|
@ -27,7 +27,6 @@ class nsWrapperCache;
|
|||
[ptr] native JSScriptPtr(JSScript);
|
||||
[ptr] native nsWrapperCachePtr(nsWrapperCache);
|
||||
native JSHandleId(JS::Handle<jsid>);
|
||||
[ptr] native InterfaceInfoPtr(const nsXPTInterfaceInfo);
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
|
@ -68,7 +67,6 @@ public:
|
|||
interface nsIXPConnectWrappedJS : nsIXPConnectJSObjectHolder
|
||||
{
|
||||
/* attribute 'JSObject' inherited from nsIXPConnectJSObjectHolder */
|
||||
readonly attribute InterfaceInfoPtr InterfaceInfo;
|
||||
readonly attribute nsIIDPtr InterfaceIID;
|
||||
|
||||
// Returns the global object for our JS object. If this object is a
|
||||
|
|
|
@ -585,18 +585,6 @@ nsXPCWrappedJS* nsXPCWrappedJS::FindInherited(REFNSIID aIID) {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPCWrappedJS::GetInterfaceInfo(const nsXPTInterfaceInfo** infoResult) {
|
||||
MOZ_ASSERT(GetClass(), "wrapper without class");
|
||||
MOZ_ASSERT(GetClass()->GetInterfaceInfo(), "wrapper class without interface");
|
||||
|
||||
// Since failing to get this info will crash some platforms(!), we keep
|
||||
// mClass valid at shutdown time.
|
||||
|
||||
*infoResult = GetClass()->GetInterfaceInfo();
|
||||
return *infoResult ? NS_OK : NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPCWrappedJS::CallMethod(uint16_t methodIndex, const nsXPTMethodInfo* info,
|
||||
nsXPTCMiniVariant* params) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче