diff options
author | jeanluc@chromium.org <jeanluc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 17:41:02 +0000 |
---|---|---|
committer | jeanluc@chromium.org <jeanluc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 17:41:02 +0000 |
commit | 64e95e1c7b3e5d946a82002f6fed8f6ada4222e7 (patch) | |
tree | feee8c35366e5889aeb4965bc17de9153356f0d9 /net/udp | |
parent | d44583b743d1e556bad4907c05ebd5cc6518b63d (diff) | |
download | chromium_src-64e95e1c7b3e5d946a82002f6fed8f6ada4222e7.zip chromium_src-64e95e1c7b3e5d946a82002f6fed8f6ada4222e7.tar.gz chromium_src-64e95e1c7b3e5d946a82002f6fed8f6ada4222e7.tar.bz2 |
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
Diffstat (limited to 'net/udp')
-rw-r--r-- | net/udp/udp_socket_win.cc | 8 |
1 files changed, 0 insertions, 8 deletions
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<int>(num); |