icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue