bulletproof for crasher #75407. r/sr=mcafee,waterson,shaver
git-svn-id: svn://10.0.0.236/trunk@91890 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c4222feb3a
commit
91eceb09cb
@ -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…
x
Reference in New Issue
Block a user