Need to specify the class to call because the nsWebShellWindow base ends up calling the content set title. This ensures that Chrome and content go different paths for Setting the title.

This commit is contained in:
tbogard%aol.net 2000-01-30 07:18:01 +00:00
Родитель dfa6c31d68
Коммит a5383448c8
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -280,7 +280,9 @@ NS_IMETHODIMP nsChromeTreeOwner::GetTitle(PRUnichar** aTitle)
NS_IMETHODIMP nsChromeTreeOwner::SetTitle(const PRUnichar* aTitle)
{
return mXULWindow->SetTitle(aTitle);
// XXX Don't need to fully qualify this once I remove nsWebShellWindow::SetTitle
// return mXULWindow->SetTitle(title.GetUnicode());
return mXULWindow->nsXULWindow::SetTitle(aTitle);
}
//*****************************************************************************