summaryrefslogtreecommitdiffstats
path: root/net/udp/udp_socket_libevent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/udp/udp_socket_libevent.cc')
-rw-r--r--net/udp/udp_socket_libevent.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/udp/udp_socket_libevent.cc b/net/udp/udp_socket_libevent.cc
index 270d763..faab9a4 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));