| Index: net/udp/udp_socket_win.cc
|
| diff --git a/net/udp/udp_socket_win.cc b/net/udp/udp_socket_win.cc
|
| index 8c226f97efeefe9a7e3290d984a20461235c6332..1b9060685a06e1f4513eb65b9ef96c866e414a97 100644
|
| --- a/net/udp/udp_socket_win.cc
|
| +++ b/net/udp/udp_socket_win.cc
|
| @@ -681,7 +681,7 @@ void UDPSocketWin::LogRead(int result,
|
| return;
|
| }
|
|
|
| - if (net_log_.GetCaptureMode().enabled()) {
|
| + if (net_log_.HasObservers()) {
|
| net_log_.AddEvent(
|
| NetLog::TYPE_UDP_BYTES_RECEIVED,
|
| CreateNetLogUDPDataTranferCallback(result, bytes, address));
|
| @@ -698,7 +698,7 @@ void UDPSocketWin::LogWrite(int result,
|
| return;
|
| }
|
|
|
| - if (net_log_.GetCaptureMode().enabled()) {
|
| + if (net_log_.HasObservers()) {
|
| net_log_.AddEvent(
|
| NetLog::TYPE_UDP_BYTES_SENT,
|
| CreateNetLogUDPDataTranferCallback(result, bytes, address));
|
|
|