icecat: add release icecat-140.10.1-1gnu1 for ecne

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -34,7 +34,7 @@ already_AddRefed<TextureClient> DcompSurfaceTexture::CreateTextureClient(
KnowsCompositor* aKnowsCompositor) {
RefPtr<TextureClient> textureClient = MakeAndAddRef<TextureClient>(
new DcompSurfaceTexture(aHandle, aSize, aFormat), TextureFlags::NO_FLAGS,
aKnowsCompositor->GetTextureForwarder());
aKnowsCompositor->GetTextureForwarder().get());
return textureClient.forget();
}
@ -106,7 +106,12 @@ void DcompSurfaceHandleHost::PushResourceUpdates(
return;
}
MOZ_ASSERT(mHandle);
MOZ_ASSERT(aImageKeys.length() == 1);
if (aImageKeys.length() != 1) {
MOZ_ASSERT_UNREACHABLE("unexpected key length");
return;
}
auto method = aOp == TextureHost::ADD_IMAGE
? &wr::TransactionBuilder::AddExternalImage
: &wr::TransactionBuilder::UpdateExternalImage;
@ -137,7 +142,10 @@ void DcompSurfaceHandleHost::PushDisplayItems(
return;
}
LOG("DcompSurfaceHandleHost %p PushDisplayItems", this);
MOZ_ASSERT(aImageKeys.length() == 1);
if (aImageKeys.length() != 1) {
MOZ_ASSERT_UNREACHABLE("unexpected key length");
return;
}
aBuilder.PushImage(
aBounds, aClip, true, false, aFilter, aImageKeys[0],
!(mFlags & TextureFlags::NON_PREMULTIPLIED),