From 64e95e1c7b3e5d946a82002f6fed8f6ada4222e7 Mon Sep 17 00:00:00 2001 From: "jeanluc@chromium.org" Date: Wed, 17 Aug 2011 17:41:02 +0000 Subject: Remove Purify and Quantify.Doing so will reduce substantially the size of the project files. BUG=92102 Review URL: http://codereview.chromium.org/7528010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97156 0039d316-1c4b-4281-b951-d872f2087c98 --- net/udp/udp_socket_win.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'net/udp') diff --git a/net/udp/udp_socket_win.cc b/net/udp/udp_socket_win.cc index 5840f77..fe7eaae 100644 --- a/net/udp/udp_socket_win.cc +++ b/net/udp/udp_socket_win.cc @@ -8,7 +8,6 @@ #include "base/eintr_wrapper.h" #include "base/logging.h" -#include "base/memory/memory_debug.h" #include "base/message_loop.h" #include "base/metrics/stats_counters.h" #include "base/rand_util.h" @@ -324,13 +323,6 @@ int UDPSocketWin::InternalRecvFrom(IOBuffer* buf, int buf_len, &recv_addr_len_, &read_overlapped_, NULL); if (rv == 0) { if (ResetEventIfSignaled(read_overlapped_.hEvent)) { - // Because of how WSARecv fills memory when used asynchronously, Purify - // isn't able to detect that it's been initialized, so it scans for 0xcd - // in the buffer and reports UMRs (uninitialized memory reads) for those - // individual bytes. We override that in PURIFY builds to avoid the - // false error reports. - // See bug 5297. - base::MemoryDebug::MarkAsInitialized(read_buffer.buf, num); if (!ProcessSuccessfulRead(num, address)) return ERR_FAILED; return static_cast(num); -- cgit v1.1