mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1238743 - remove a bogus assertion in TextureClient.cpp. r=kats
This commit is contained in:
parent
2e4907b79b
commit
e2f86d0e39
@ -183,7 +183,6 @@ private:
|
||||
static void DestroyTextureData(TextureData* aTextureData, ISurfaceAllocator* aAllocator,
|
||||
bool aDeallocate, bool aMainThreadOnly)
|
||||
{
|
||||
MOZ_ASSERT(aTextureData);
|
||||
if (!aTextureData) {
|
||||
return;
|
||||
}
|
||||
@ -231,6 +230,11 @@ void DeallocateTextureClientSyncProxy(TextureDeallocParams params,
|
||||
void
|
||||
DeallocateTextureClient(TextureDeallocParams params)
|
||||
{
|
||||
if (!params.actor && !params.data) {
|
||||
// Nothing to do
|
||||
return;
|
||||
}
|
||||
|
||||
TextureChild* actor = params.actor;
|
||||
MessageLoop* ipdlMsgLoop = nullptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user