PTCPSocketChild* NeckoChild::AllocPTCPSocketChild() { TCPSocketChild* p = new TCPSocketChild(); p->AddIPDLReference(); return p; }
PTCPSocketChild* NeckoChild::AllocPTCPSocketChild(const nsString& host, const uint16_t& port) { TCPSocketChild* p = new TCPSocketChild(host, port); p->AddIPDLReference(); return p; }