bug=47357
a=edburns r=edburns author=avm This fix adds a length parameter to the loading of URLs. It also adds a new util function util_getStringLength(). git-svn-id: svn://10.0.0.236/trunk@76157 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -120,12 +120,12 @@ wsResizeEvent::handleEvent ()
|
||||
* wsLoadURLEvent
|
||||
*/
|
||||
|
||||
wsLoadURLEvent::wsLoadURLEvent(nsIWebNavigation* webNavigation, PRUnichar * urlString) :
|
||||
wsLoadURLEvent::wsLoadURLEvent(nsIWebNavigation* webNavigation, PRUnichar * urlString, PRInt32 urlLength) :
|
||||
nsActionEvent(),
|
||||
mWebNavigation(webNavigation),
|
||||
mURL(nsnull)
|
||||
{
|
||||
mURL = new nsString(urlString);
|
||||
mURL = new nsString(urlString, urlLength);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user