Index: webrtc/p2p/base/p2ptransport.h |
diff --git a/webrtc/p2p/base/p2ptransport.h b/webrtc/p2p/base/p2ptransport.h |
index 2e27bd8a3b207561e054dacadd0641a01fcf7bcd..0f965b4cdc1d7ad4d62e7cdf4944925306ce85bc 100644 |
--- a/webrtc/p2p/base/p2ptransport.h |
+++ b/webrtc/p2p/base/p2ptransport.h |
@@ -16,12 +16,10 @@ |
namespace cricket { |
+// Everything in this class should be called on the worker thread. |
class P2PTransport : public Transport { |
public: |
- P2PTransport(rtc::Thread* signaling_thread, |
- rtc::Thread* worker_thread, |
- const std::string& content_name, |
- PortAllocator* allocator); |
+ P2PTransport(const std::string& name, PortAllocator* allocator); |
virtual ~P2PTransport(); |
protected: |