зеркало из https://github.com/mozilla/gecko-dev.git
Bug 460767 - Crash in imgRequest.cpp in OOM conditions r=pavlov r=joedrew a19b2=beltzner. CLOSED TREE
This commit is contained in:
Родитель
d4a9bada17
Коммит
2e8581a986
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче