Index: extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc |
diff --git a/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc b/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc |
index b36ebcca8d6ef638dde807f86e39585a37675b3e..31f526edea9f265e823182567530eccd93b5b780 100644 |
--- a/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc |
+++ b/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc |
@@ -77,7 +77,7 @@ void UDPSocketEventDispatcher::StartReceive(const ReceiveParams& params) { |
ResumableUDPSocket* socket = |
params.sockets->Get(params.extension_id, params.socket_id); |
- if (socket == NULL) { |
+ if (socket == nullptr) { |
// This can happen if the socket is closed while our callback is active. |
return; |
} |