Index: net/dns/mdns_client_impl.h |
diff --git a/net/dns/mdns_client_impl.h b/net/dns/mdns_client_impl.h |
index e788601fd76ec4e608aab43d523370e5f5be8a62..a9234c494a13cf1b686f2492e6184220c2b81460 100644 |
--- a/net/dns/mdns_client_impl.h |
+++ b/net/dns/mdns_client_impl.h |
@@ -122,7 +122,7 @@ class NET_EXPORT_PRIVATE MDnsClientImpl : public MDnsClient { |
bool Init(MDnsSocketFactory* socket_factory); |
// Send a query with a specific rrtype and name. Returns true on success. |
- bool SendQuery(uint16 rrtype, std::string name); |
+ bool SendQuery(uint16 rrtype, const std::string& name); |
// Add/remove a listener to the list of listeners. |
void AddListener(MDnsListenerImpl* listener); |