зеркало из https://github.com/mozilla/pjs.git
Bug 84123 Image information is shown on title bar only after image is completely loaded
call UpdateTitleAndCharset in OnStartContainer, that's the earliest time at which we have the image dimensions. r=varga sr=bzbarsky
This commit is contained in:
Родитель
ae0d7e6e37
Коммит
910395d42e
|
@ -384,6 +384,7 @@ nsImageDocument::OnStartContainer(imgIRequest* aRequest, imgIContainer* aImage)
|
|||
if (mImageResizingEnabled) {
|
||||
CheckOverflowing();
|
||||
}
|
||||
UpdateTitleAndCharset();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче