Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1141)

Unified Diff: base/sync_socket_win.cc

Issue 8965049: Fixed CID 102675, uninitialized member vars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More audio device uninit fixes Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/sync_socket_posix.cc ('k') | content/renderer/media/audio_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sync_socket_win.cc
diff --git a/base/sync_socket_win.cc b/base/sync_socket_win.cc
index 13091daf86911c456ec7861f01b719b27287bbcf..f69ba1c9edbdbbf7f3afae0f3b638689a818a979 100644
--- a/base/sync_socket_win.cc
+++ b/base/sync_socket_win.cc
@@ -28,10 +28,10 @@ const int kOutBufferSize = 4096;
const int kInBufferSize = 4096;
const int kDefaultTimeoutMilliSeconds = 1000;
-static const SyncSocket::Handle kInvalidHandle = INVALID_HANDLE_VALUE;
-
} // namespace
+const SyncSocket::Handle SyncSocket::kInvalidHandle = INVALID_HANDLE_VALUE;
+
bool SyncSocket::CreatePair(SyncSocket* pair[2]) {
Handle handles[2];
SyncSocket* tmp_sockets[2];
« no previous file with comments | « base/sync_socket_posix.cc ('k') | content/renderer/media/audio_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698