mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
Bug 806428 - Do not abort when a ThebesLayer's size changes when previous size was (0,0). r=BenWa
This commit is contained in:
parent
51dd83878a
commit
b196ace209
@ -48,7 +48,7 @@ public:
|
||||
#ifdef DEBUG
|
||||
gfxIntSize prevSize = gfxIntSize(BufferRect().width, BufferRect().height);
|
||||
gfxIntSize newSize = aBuffer->GetSize();
|
||||
NS_ABORT_IF_FALSE(newSize == prevSize,
|
||||
NS_ABORT_IF_FALSE(newSize == prevSize || prevSize == gfxIntSize(0,0),
|
||||
"Swapped-in buffer size doesn't match old buffer's!");
|
||||
#endif
|
||||
nsRefPtr<gfxASurface> oldBuffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user