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:
parent
b801678c9a
commit
34e4240635
@ -229,7 +229,7 @@ nsresult imgRequest::NotifyProxyListener(imgRequestProxy *proxy)
|
|||||||
|
|
||||||
// get the current frame or only frame
|
// get the current frame or only frame
|
||||||
mImage->GetCurrentFrame(getter_AddRefs(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
|
// OnStartFrame
|
||||||
proxy->OnStartFrame(frame);
|
proxy->OnStartFrame(frame);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user