replaced call to deprecated method in nsString
git-svn-id: svn://10.0.0.236/trunk@45069 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3390,7 +3390,7 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader,
|
||||
hostStr.SetString(host);
|
||||
nsAllocator::Free(host);
|
||||
PRInt32 dotLoc = -1;
|
||||
dotLoc = hostStr.Find('.');
|
||||
dotLoc = hostStr.FindChar('.');
|
||||
PRBool retry = PR_FALSE;
|
||||
if (-1 == dotLoc) {
|
||||
hostStr.Insert("www.", 0, 4);
|
||||
|
||||
Reference in New Issue
Block a user