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

@ -18,6 +18,10 @@ NS_IMPL_ISUPPORTS(GfxMemoryImageReporter, nsIMemoryReporter)
mozilla::Atomic<ptrdiff_t> GfxMemoryImageReporter::sAmount(0);
RefPtr<TextureForwarder> ISurfaceAllocator::GetTextureForwarder() {
return nullptr;
}
void HostIPCAllocator::SendPendingAsyncMessages() {
if (mPendingAsyncMessage.empty()) {
return;
@ -166,10 +170,13 @@ void FixedSizeSmallShmemSectionAllocator::FreeShmemSection(
return;
}
size_t headerSize = sizeof(ShmemSectionHeapAllocation);
MOZ_RELEASE_ASSERT(aShmemSection.offset() >= headerSize);
ShmemSectionHeapAllocation* allocHeader =
reinterpret_cast<ShmemSectionHeapAllocation*>(
aShmemSection.shmem().get<char>() + aShmemSection.offset() -
sizeof(ShmemSectionHeapAllocation));
headerSize);
MOZ_ASSERT(allocHeader->mSize == aShmemSection.size());
@ -225,7 +232,11 @@ void FixedSizeSmallShmemSectionAllocator::ShrinkShmemSectionHeap() {
}
Maybe<ShmemSection> ShmemSection::FromUntrusted(
const UntrustedShmemSection& aUntrusted) {
const UntrustedShmemSection& aUntrusted, size_t aMinimumSize) {
if (aUntrusted.size() < aMinimumSize) {
return Nothing();
}
ShmemSection section;
if (!section.Init(aUntrusted.shmem(), aUntrusted.offset(),
aUntrusted.size())) {