Bug 460767 - Crash in imgRequest.cpp in OOM conditions r=pavlov r=joedrew a1.9.0.6=dveditz

git-svn-id: svn://10.0.0.236/trunk@255620 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blassey%mozilla.com 2008-12-22 20:44:52 +00:00
parent b801678c9a
commit 34e4240635

View File

@ -229,7 +229,7 @@ nsresult imgRequest::NotifyProxyListener(imgRequestProxy *proxy)
// get the current frame or only frame
mImage->GetCurrentFrame(getter_AddRefs(frame));
NS_ASSERTION(frame, "GetCurrentFrame gave back a null frame!");
NS_ENSURE_TRUE(frame, NS_ERROR_OUT_OF_MEMORY);
// OnStartFrame
proxy->OnStartFrame(frame);