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

Unified Diff: ppapi/tests/test_tcp_socket_private.cc

Issue 690903002: Remove timing limitation of SetOption invocation for PPAPI sockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: ppapi/tests/test_tcp_socket_private.cc
diff --git a/ppapi/tests/test_tcp_socket_private.cc b/ppapi/tests/test_tcp_socket_private.cc
index d3efbe335d514ec1c3b105a9a892060b295f2d5f..a8a6cdfe698aa14d1b2a6924bb23fdcbaeb9b9a9 100644
--- a/ppapi/tests/test_tcp_socket_private.cc
+++ b/ppapi/tests/test_tcp_socket_private.cc
@@ -161,7 +161,7 @@ std::string TestTCPSocketPrivate::TestSetOption() {
socket.SetOption(PP_TCPSOCKETOPTION_PRIVATE_NO_DELAY, true,
cb.GetCallback()));
CHECK_CALLBACK_BEHAVIOR(cb);
- ASSERT_EQ(PP_ERROR_FAILED, cb.result());
+ ASSERT_EQ(PP_OK, cb.result());
cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback()));
CHECK_CALLBACK_BEHAVIOR(cb);

Powered by Google App Engine
This is Rietveld 408576698