mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1194259: warnings-as-errors bustage fix rs=bustage
on a CLOSED TREE
This commit is contained in:
parent
76c964b161
commit
793d105497
@ -292,13 +292,20 @@ UDPSocketParent::RecvConnect(const UDPAddressInfo& aAddressInfo)
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
UDPSocketParent::DoSendConnectResponse(const UDPAddressInfo& aAddressInfo)
|
||||
{
|
||||
// can't use directly with WrapRunnable due to warnings
|
||||
mozilla::Unused << SendCallbackConnected(aAddressInfo);
|
||||
}
|
||||
|
||||
void
|
||||
UDPSocketParent::SendConnectResponse(nsIEventTarget *aThread,
|
||||
const UDPAddressInfo& aAddressInfo)
|
||||
{
|
||||
NS_WARN_IF(NS_FAILED(aThread->Dispatch(WrapRunnable(
|
||||
this,
|
||||
&UDPSocketParent::SendCallbackConnected,
|
||||
&UDPSocketParent::DoSendConnectResponse,
|
||||
aAddressInfo),
|
||||
NS_DISPATCH_NORMAL)));
|
||||
}
|
||||
|
@ -37,6 +37,7 @@ public:
|
||||
virtual bool RecvBind(const UDPAddressInfo& aAddressInfo,
|
||||
const bool& aAddressReuse, const bool& aLoopback) override;
|
||||
virtual bool RecvConnect(const UDPAddressInfo& aAddressInfo) override;
|
||||
void DoSendConnectResponse(const UDPAddressInfo& aAddressInfo);
|
||||
void SendConnectResponse(nsIEventTarget *aThread,
|
||||
const UDPAddressInfo& aAddressInfo);
|
||||
void DoConnect(nsCOMPtr<nsIUDPSocket>& aSocket,
|
||||
|
Loading…
Reference in New Issue
Block a user