зеркало из https://github.com/mozilla/pjs.git
remove unnecessary imgURI check, thanks to biesi for catching it.
This commit is contained in:
Родитель
082e19048a
Коммит
8c46b7fe3b
|
@ -153,7 +153,7 @@ nsBulletFrame::Init(nsIPresContext* aPresContext,
|
|||
NS_RELEASE(listener);
|
||||
}
|
||||
|
||||
if (imgURI && nsContentUtils::CanLoadImage(imgURI, doc, doc)) {
|
||||
if (nsContentUtils::CanLoadImage(imgURI, doc, doc)) {
|
||||
// XXX: initialDocumentURI is NULL !
|
||||
il->LoadImage(imgURI, nsnull, documentURI, loadGroup, mListener, aPresContext, nsIRequest::LOAD_NORMAL, nsnull, nsnull, getter_AddRefs(mImageRequest));
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@ nsBulletFrame::Init(nsIPresContext* aPresContext,
|
|||
NS_RELEASE(listener);
|
||||
}
|
||||
|
||||
if (imgURI && nsContentUtils::CanLoadImage(imgURI, doc, doc)) {
|
||||
if (nsContentUtils::CanLoadImage(imgURI, doc, doc)) {
|
||||
// XXX: initialDocumentURI is NULL !
|
||||
il->LoadImage(imgURI, nsnull, documentURI, loadGroup, mListener, aPresContext, nsIRequest::LOAD_NORMAL, nsnull, nsnull, getter_AddRefs(mImageRequest));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче