Index: components/domain_reliability/monitor.cc |
diff --git a/components/domain_reliability/monitor.cc b/components/domain_reliability/monitor.cc |
index b6337ef80cf1d83f78a2a37afe5ecb77e7cf6d2f..9e961c973fbacd5b356ac0c92dc8ebcd13c8183a 100644 |
--- a/components/domain_reliability/monitor.cc |
+++ b/components/domain_reliability/monitor.cc |
@@ -61,7 +61,7 @@ scoped_ptr<DomainReliabilityBeacon> CreateBeaconFromAttempt( |
new DomainReliabilityBeacon(beacon_template)); |
beacon->status = status; |
beacon->chrome_error = attempt.result; |
- if (!attempt.endpoint.address().empty()) |
+ if (!attempt.endpoint.address_number().empty()) |
beacon->server_ip = attempt.endpoint.ToString(); |
else |
beacon->server_ip = ""; |