mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1480245, part 3 - Remove always-true nsXPTInterfaceInfo::EnsureResolved(). r=nika
Differential Revision: https://phabricator.services.mozilla.com/D9645 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
d0b8c2be2e
commit
3aae9fcc99
@ -43,8 +43,9 @@ NS_GetXPTCallStub(REFNSIID aIID, nsIXPTCProxy* aOuter,
|
||||
return NS_ERROR_INVALID_ARG;
|
||||
|
||||
const nsXPTInterfaceInfo* iie = nsXPTInterfaceInfo::ByIID(aIID);
|
||||
if (!iie || !iie->EnsureResolved() || iie->IsBuiltinClass())
|
||||
if (!iie || iie->IsBuiltinClass()) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
*aResult = new nsXPTCStubBase(aOuter, iie);
|
||||
return NS_OK;
|
||||
|
@ -106,8 +106,6 @@ struct nsXPTInterfaceInfo
|
||||
JS::MutableHandleValue constant,
|
||||
char** aName) const;
|
||||
|
||||
bool EnsureResolved() const { return true; } // XXX: Remove (bug 1480245)
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// Ensure these fields are in the same order as xptcodegen.py //
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user