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

@ -10,11 +10,7 @@ namespace mozilla {
namespace net {
BackgroundDataBridgeParent::BackgroundDataBridgeParent(uint64_t aChannelID)
: mChannelID(aChannelID), mBackgroundThread(GetCurrentSerialEventTarget()) {
if (SocketProcessChild* child = SocketProcessChild::GetSingleton()) {
child->AddDataBridgeToMap(aChannelID, this);
}
}
: mChannelID(aChannelID), mBackgroundThread(GetCurrentSerialEventTarget()) {}
void BackgroundDataBridgeParent::ActorDestroy(ActorDestroyReason aWhy) {
if (SocketProcessChild* child = SocketProcessChild::GetSingleton()) {
@ -22,6 +18,16 @@ void BackgroundDataBridgeParent::ActorDestroy(ActorDestroyReason aWhy) {
}
}
already_AddRefed<BackgroundDataBridgeParent>
BackgroundDataBridgeParent::Create(uint64_t aChannelID) {
RefPtr<BackgroundDataBridgeParent> actor =
new BackgroundDataBridgeParent(aChannelID);
if (SocketProcessChild* child = SocketProcessChild::GetSingleton()) {
child->AddDataBridgeToMap(aChannelID, actor);
}
return actor.forget();
}
already_AddRefed<nsISerialEventTarget>
BackgroundDataBridgeParent::GetBackgroundThread() {
return do_AddRef(mBackgroundThread);