mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1143575. ImageClient::UpdateImage should not return false when there's no image, because recreating the ImageClient won't help. r=nical
This commit is contained in:
parent
8f72b276f0
commit
92a09b0193
@ -148,10 +148,6 @@ ImageClientSingle::UpdateImage(ImageContainer* aContainer, uint32_t aContentFlag
|
||||
}
|
||||
mLastUpdateGenerationCounter = generationCounter;
|
||||
|
||||
if (images.IsEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Image* image = images[0].mImage;
|
||||
// Don't try to update to an invalid image. We return true because the caller
|
||||
// would attempt to recreate the ImageClient otherwise, and that isn't going
|
||||
|
Loading…
Reference in New Issue
Block a user