Lines Matching defs:remote
78 // We can't call member functions on our remote pair while holding our mutex or we'll deadlock,
79 // but we need to guard against the remote port getting closed/freed, so create a standalone reference.
80 RefPtr<PlatformMessagePortChannel> remote = m_channel->entangledChannel();
81 if (!remote)
83 remote->setRemotePort(port);
89 RefPtr<PlatformMessagePortChannel> remote = m_channel->entangledChannel();
90 if (remote)
91 remote->setRemotePort(0);
119 RefPtr<PlatformMessagePortChannel> remote = m_channel->entangledChannel();
120 if (!remote)
123 remote->closeInternal();
145 // The remote port's ScriptExecutionContext is guaranteed not to change here - MessagePort::contextDestroyed()