mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 408148. use nsAutoTArray rather than nsTArray in nsXBLService::GetBinding. r/sr=sicking
This commit is contained in:
parent
849eea950e
commit
b117c0d9a6
@ -728,7 +728,7 @@ nsXBLService::GetBinding(nsIContent* aBoundElement, nsIURI* aURI,
|
||||
PRBool* aIsReady, nsXBLBinding** aResult)
|
||||
{
|
||||
// More than 6 binding URIs are rare, see bug 55070 comment 18.
|
||||
nsTArray<nsIURI*> uris(6);
|
||||
nsAutoTArray<nsIURI*, 6> uris;
|
||||
return GetBinding(aBoundElement, aURI, aPeekOnly, aOriginPrincipal, aIsReady,
|
||||
aResult, uris);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user