diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-06 10:07:26 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-06 10:07:26 +0000 |
commit | cdd6c77f03f43b3531ae504d4c067b235d786ff4 (patch) | |
tree | 38f35dbf6ad8345c69aac034b2d9b81398d72afd /net | |
parent | 8c0b363dbd7b3cc615d10fb4170508ef9e1d948e (diff) | |
download | chromium_src-cdd6c77f03f43b3531ae504d4c067b235d786ff4.zip chromium_src-cdd6c77f03f43b3531ae504d4c067b235d786ff4.tar.gz chromium_src-cdd6c77f03f43b3531ae504d4c067b235d786ff4.tar.bz2 |
Move all callers to EnsureWinsockInit, and away from using WinsockInit instances.
Review URL: http://codereview.chromium.org/6486
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/listen_socket_unittest.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/base/listen_socket_unittest.h b/net/base/listen_socket_unittest.h index 36af167..97c592e 100644 --- a/net/base/listen_socket_unittest.h +++ b/net/base/listen_socket_unittest.h @@ -75,7 +75,7 @@ class ListenSocketTester : InitializeCriticalSection(&lock_); semaphore_ = CreateSemaphore(NULL, 0, MAX_QUEUE_SIZE, NULL); server_ = NULL; - net::WinsockInit::Init(); + net::EnsureWinsockInit(); thread_.reset(new base::Thread("socketio_test")); thread_->Start(); @@ -124,7 +124,6 @@ class ListenSocketTester : } thread_.reset(); loop_ = NULL; - net::WinsockInit::Cleanup(); } void ReportAction(const ListenSocketTestAction& action) { |