mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 952660, part 4 - Eliminate now-unnecessary null check in nsXPCWrappedJS::GetNewOrUsed. r=bholley
This commit is contained in:
parent
ab20f03087
commit
20b1ae972d
@ -399,9 +399,6 @@ nsXPCWrappedJS::GetNewOrUsed(JS::HandleObject jsObj,
|
|||||||
if (release_root)
|
if (release_root)
|
||||||
NS_RELEASE(root);
|
NS_RELEASE(root);
|
||||||
|
|
||||||
if (!wrapper)
|
|
||||||
return NS_ERROR_FAILURE;
|
|
||||||
|
|
||||||
*wrapperResult = wrapper;
|
*wrapperResult = wrapper;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user