summaryrefslogtreecommitdiffstats
path: root/net/socket
diff options
context:
space:
mode:
authorjeanluc@chromium.org <jeanluc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 17:41:02 +0000
committerjeanluc@chromium.org <jeanluc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 17:41:02 +0000
commit64e95e1c7b3e5d946a82002f6fed8f6ada4222e7 (patch)
treefeee8c35366e5889aeb4965bc17de9153356f0d9 /net/socket
parentd44583b743d1e556bad4907c05ebd5cc6518b63d (diff)
downloadchromium_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/socket')
-rw-r--r--net/socket/tcp_client_socket_win.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/socket/tcp_client_socket_win.cc b/net/socket/tcp_client_socket_win.cc
index f4026b7..8b192f4 100644
--- a/net/socket/tcp_client_socket_win.cc
+++ b/net/socket/tcp_client_socket_win.cc
@@ -8,7 +8,6 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "base/memory/memory_debug.h"
#include "base/metrics/stats_counters.h"
#include "base/string_util.h"
#include "base/win/object_watcher.h"
@@ -690,13 +689,6 @@ int TCPClientSocketWin::Read(IOBuffer* buf,
&core_->read_overlapped_, NULL);
if (rv == 0) {
if (ResetEventIfSignaled(core_->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(core_->read_buffer_.buf, num);
base::StatsCounter read_bytes("tcp.read_bytes");
read_bytes.Add(num);
num_bytes_read_ += num;