зеркало из https://github.com/mozilla/pjs.git
small fix for leaking the url bar XP in CreateToolbar. Part of the fix for bug 4883. approved for checking by chofmann.
This commit is contained in:
Родитель
1283780ba8
Коммит
bcd125e76c
|
@ -1343,12 +1343,8 @@ nsBrowserWindow::CreateToolBar(PRInt32 aWidth)
|
|||
widget->SetBackgroundColor(NS_RGB(255, 255, 255));
|
||||
PRUint32 size;
|
||||
mLocation->SetText("",size);
|
||||
nsIWidget* widget = nsnull;
|
||||
if (NS_OK == mLocation->QueryInterface(kIWidgetIID,(void**)&widget))
|
||||
{
|
||||
widget->EnableFileDrop(PR_TRUE);
|
||||
NS_RELEASE(widget);
|
||||
}
|
||||
widget->EnableFileDrop(PR_TRUE);
|
||||
NS_RELEASE(widget);
|
||||
}
|
||||
|
||||
// Create and place throbber
|
||||
|
|
Загрузка…
Ссылка в новой задаче