зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
dfa6c31d68
Коммит
a5383448c8
|
@ -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);
|
||||
}
|
||||
|
||||
//*****************************************************************************
|
||||
|
|
Загрузка…
Ссылка в новой задаче