More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky git-svn-id: svn://10.0.0.236/trunk@180005 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1565,8 +1565,7 @@ nsBrowserWindow::CreateToolBar(PRInt32 aWidth)
|
||||
widget->SetForegroundColor(NS_RGB(0, 0, 0));
|
||||
widget->SetBackgroundColor(NS_RGB(255, 255, 255));
|
||||
PRUint32 size;
|
||||
nsAutoString empty;
|
||||
mLocation->SetText(empty, size);
|
||||
mLocation->SetText(EmptyString(), size);
|
||||
mLocation->SetMaxTextLength(MAX_TEXT_LENGTH);
|
||||
NS_RELEASE(widget);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user