Bug 460767 - Crash in imgRequest.cpp in OOM conditions r=pavlov r=joedrew a19b2=beltzner. CLOSED TREE

This commit is contained in:
Brad Lassey 2008-11-24 11:57:47 -05:00
Родитель d4a9bada17
Коммит 2e8581a986
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -219,7 +219,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);