mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 21:58:41 +02:00
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
This commit is contained in:
parent
34a23fd8e5
commit
1541469c6a
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ char * xpc_CheckAccessList(const PRUnichar* wideName, const char* list[])
|
||||||
CopyUCS2toASCII(nsDependentString(wideName), asciiName);
|
CopyUCS2toASCII(nsDependentString(wideName), asciiName);
|
||||||
|
|
||||||
for(const char** p = list; *p; p++)
|
for(const char** p = list; *p; p++)
|
||||||
if(!strcmp(*p, asciiName))
|
if(!strcmp(*p, asciiName.get()))
|
||||||
return xpc_CloneAllAccess();
|
return xpc_CloneAllAccess();
|
||||||
|
|
||||||
return nsnull;
|
return nsnull;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue