summaryrefslogtreecommitdiffstats
path: root/net/udp/udp_socket_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/udp/udp_socket_win.cc')
-rw-r--r--net/udp/udp_socket_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/udp/udp_socket_win.cc b/net/udp/udp_socket_win.cc
index 328f379..2e2271e 100644
--- a/net/udp/udp_socket_win.cc
+++ b/net/udp/udp_socket_win.cc
@@ -263,7 +263,7 @@ void UDPSocketWin::DidCompleteRead() {
}
bool UDPSocketWin::ProcessSuccessfulRead(int num_bytes, IPEndPoint* address) {
- static base::StatsCounter read_bytes("udp.read_bytes");
+ base::StatsCounter read_bytes("udp.read_bytes");
read_bytes.Add(num_bytes);
// Convert address.
@@ -290,7 +290,7 @@ void UDPSocketWin::DidCompleteWrite() {
}
void UDPSocketWin::ProcessSuccessfulWrite(int num_bytes) {
- static base::StatsCounter write_bytes("udp.write_bytes");
+ base::StatsCounter write_bytes("udp.write_bytes");
write_bytes.Add(num_bytes);
}