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

Unified Diff: base/sync_socket_nacl.cc

Issue 2809673002: Fix double close in MojoAudioOutputStream. (Closed)
Patch Set: Fix Win complie. Created 3 years, 8 months 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
Index: base/sync_socket_nacl.cc
diff --git a/base/sync_socket_nacl.cc b/base/sync_socket_nacl.cc
index 4a02082edd6003002aa33583694c014800192e1a..19a20becfa6886831d549ade80dad54f4e5a3d2e 100644
--- a/base/sync_socket_nacl.cc
+++ b/base/sync_socket_nacl.cc
@@ -75,6 +75,12 @@ size_t SyncSocket::Peek() {
return 0;
}
+SyncSocket::Handle SyncSocket::Release() {
+ Handle r = handle_;
+ handle_ = kInvalidHandle;
+ return r;
+}
+
CancelableSyncSocket::CancelableSyncSocket() {
}

Powered by Google App Engine
This is Rietveld 408576698