summaryrefslogtreecommitdiffstats
path: root/net/dns/mdns_client_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/dns/mdns_client_impl.cc')
-rw-r--r--net/dns/mdns_client_impl.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/dns/mdns_client_impl.cc b/net/dns/mdns_client_impl.cc
index 622bca9..66873ab 100644
--- a/net/dns/mdns_client_impl.cc
+++ b/net/dns/mdns_client_impl.cc
@@ -195,8 +195,7 @@ void MDnsConnection::OnDatagramReceived(
delegate_->HandlePacket(response, bytes_read);
}
-MDnsClientImpl::Core::Core(MDnsClientImpl* client)
- : client_(client), connection_(new MDnsConnection(this)) {
+MDnsClientImpl::Core::Core() : connection_(new MDnsConnection(this)) {
}
MDnsClientImpl::Core::~Core() {
@@ -424,7 +423,7 @@ MDnsClientImpl::~MDnsClientImpl() {
bool MDnsClientImpl::StartListening(MDnsSocketFactory* socket_factory) {
DCHECK(!core_.get());
- core_.reset(new Core(this));
+ core_.reset(new Core());
if (!core_->Init(socket_factory)) {
core_.reset();
return false;