mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
bulletproof for crasher #75407. r/sr=mcafee,waterson,shaver
This commit is contained in:
parent
69bb5e8462
commit
aa5f4c86cf
@ -433,6 +433,10 @@ nsImageBoxFrame::PaintImage(nsIPresContext* aPresContext,
|
||||
|
||||
#ifdef USE_IMG2
|
||||
nsCOMPtr<imgIContainer> imgCon;
|
||||
#ifdef DEBUG_pavlov
|
||||
NS_ASSERTION(mImageRequest, "pav, fix me!");
|
||||
#endif
|
||||
if (!mImageRequest) return NS_ERROR_UNEXPECTED;
|
||||
mImageRequest->GetImage(getter_AddRefs(imgCon));
|
||||
|
||||
if (imgCon) {
|
||||
|
Loading…
Reference in New Issue
Block a user