Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
This commit is contained in:
@@ -1475,7 +1475,7 @@ NS_IMETHODIMP nsDocShell::LoadURI(const PRUnichar* aURI, PRUint32 aLoadFlags)
|
||||
nsCAutoString cScheme;
|
||||
cScheme.AssignWithConversion(scheme);
|
||||
|
||||
PRUnichar *msg = nsTextFormatter::smprintf(messageStr, cScheme.GetBuffer());
|
||||
PRUnichar *msg = nsTextFormatter::smprintf(messageStr, cScheme.get());
|
||||
if (!msg) return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
prompter->Alert(nsnull, msg);
|
||||
|
||||
Reference in New Issue
Block a user