mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Backed out changeset 3948ffacb5fb (bug 873455) for assertions on a CLOSED TREE
This commit is contained in:
parent
81a342661a
commit
4449792cc3
@ -1257,8 +1257,6 @@ RasterImage::InternalAddFrame(uint32_t framenum,
|
||||
nsAutoPtr<imgFrame> frame(new imgFrame());
|
||||
|
||||
nsresult rv = frame->Init(aX, aY, aWidth, aHeight, aFormat, aPaletteDepth);
|
||||
MOZ_ASSERT(mSize.width > 0 && mSize.height > 0, "Shouldn't call InternalAddFrame with zero size");
|
||||
MOZ_ASSERT(NS_SUCCEEDED(rv), "imgFrame::Init should succeed");
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// We know we are in a decoder. Therefore, we must unlock the previous frame
|
||||
|
Loading…
x
Reference in New Issue
Block a user