| Index: net/udp/udp_socket_libevent.cc
|
| diff --git a/net/udp/udp_socket_libevent.cc b/net/udp/udp_socket_libevent.cc
|
| index 270d763acb8f4b5a5e04daedfd94d3623f21df39..faab9a451182f2e09150019b9e082f7fe2abb99e 100644
|
| --- a/net/udp/udp_socket_libevent.cc
|
| +++ b/net/udp/udp_socket_libevent.cc
|
| @@ -414,7 +414,7 @@ void UDPSocketLibevent::LogRead(int result,
|
| return;
|
| }
|
|
|
| - if (net_log_.GetCaptureMode().enabled()) {
|
| + if (net_log_.IsCapturing()) {
|
| DCHECK(addr_len > 0);
|
| DCHECK(addr);
|
|
|
| @@ -451,7 +451,7 @@ void UDPSocketLibevent::LogWrite(int result,
|
| return;
|
| }
|
|
|
| - if (net_log_.GetCaptureMode().enabled()) {
|
| + if (net_log_.IsCapturing()) {
|
| net_log_.AddEvent(
|
| NetLog::TYPE_UDP_BYTES_SENT,
|
| CreateNetLogUDPDataTranferCallback(result, bytes, address));
|
|
|