mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1033098 - Wallpaper over the intermittent crash. r=nsilva
This commit is contained in:
parent
169feb46fd
commit
d627e909c1
@ -37,8 +37,10 @@ GLBlitTextureImageHelper::BlitTextureImage(TextureImage *aSrc, const nsIntRect&
|
||||
{
|
||||
NS_ASSERTION(!aSrc->InUpdate(), "Source texture is in update!");
|
||||
NS_ASSERTION(!aDst->InUpdate(), "Destination texture is in update!");
|
||||
NS_ASSERTION(!aSrc, "Source image is null");
|
||||
NS_ASSERTION(!aDst, "Destination image is null");
|
||||
|
||||
if (aSrcRect.IsEmpty() || aDstRect.IsEmpty())
|
||||
if (!aSrc || !aDst || aSrcRect.IsEmpty() || aDstRect.IsEmpty())
|
||||
return;
|
||||
|
||||
int savedFb = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user