зеркало из https://github.com/mozilla/pjs.git
Bug 180583 nsTreeBodyFrame::GetImage doesn't null check loader
r=varga sr=bz
This commit is contained in:
Родитель
2a93582ae6
Коммит
8dd102cd4e
|
@ -1858,6 +1858,8 @@ nsTreeBodyFrame::GetImage(PRInt32 aRowIndex, const PRUnichar* aColID, PRBool aUs
|
|||
|
||||
nsresult rv;
|
||||
nsCOMPtr<imgILoader> il(do_GetService("@mozilla.org/image/loader;1", &rv));
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
// Get the documment URI for the referrer.
|
||||
nsCOMPtr<nsIURI> documentURI;
|
||||
|
|
Загрузка…
Ссылка в новой задаче