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

Unified Diff: base/sync_socket_nacl.cc

Issue 36103002: Fix infinite loop in NaCl CancelableSyncSocket::Send(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sync_socket_nacl.cc
diff --git a/base/sync_socket_nacl.cc b/base/sync_socket_nacl.cc
index ebe4c9af33b4a6aa91ed0826ab8c27856e31f2c3..f6d17e7ffb61dc20468bbd4e987c927171273f11 100644
--- a/base/sync_socket_nacl.cc
+++ b/base/sync_socket_nacl.cc
@@ -64,11 +64,11 @@ CancelableSyncSocket::CancelableSyncSocket(Handle handle)
}
size_t CancelableSyncSocket::Send(const void* buffer, size_t length) {
- return Send(buffer, length);
+ return SyncSocket::Send(buffer, length);
}
bool CancelableSyncSocket::Shutdown() {
- return Close();
+ return SyncSocket::Close();
}
// static
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698