Bug 1238743 - remove a bogus assertion in TextureClient.cpp. r=kats

This commit is contained in:
Nicolas Silva 2016-01-12 16:00:24 +01:00
parent 2e4907b79b
commit e2f86d0e39

View File

@ -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;