Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: net/dns/mdns_client_impl.cc

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/dns/mdns_client_impl.h ('k') | net/docs/bug-triage.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/mdns_client_impl.cc
diff --git a/net/dns/mdns_client_impl.cc b/net/dns/mdns_client_impl.cc
index 622bca939e94d0585404d67340c431bf6faf7678..66873abc36bca278a33e0194f0dd85ae52f91740 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;
« no previous file with comments | « net/dns/mdns_client_impl.h ('k') | net/docs/bug-triage.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698