Fix the GetURL() bustage in windows
git-svn-id: svn://10.0.0.236/trunk@35595 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1755,7 +1755,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
|
||||
/* Add yourself to the Session History */
|
||||
if (shist) {
|
||||
PRInt32 ret=0;
|
||||
ret = shist->add(this);
|
||||
ret = shist->add(this, aType);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1788,7 +1788,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
|
||||
/* The session History may have changed the URL. So pass on the
|
||||
* right one for loading
|
||||
*/
|
||||
PRUnichar * urlString=nsnull;
|
||||
const PRUnichar * urlString=nsnull;
|
||||
GetURL(&urlString);
|
||||
nsAutoString newURL(urlString);
|
||||
printf("Loading url %s in WEbshell %x\n", mURL.ToNewCString(), this);
|
||||
|
||||
Reference in New Issue
Block a user