Index: ppapi/tests/test_websocket.cc |
diff --git a/ppapi/tests/test_websocket.cc b/ppapi/tests/test_websocket.cc |
index f129420ed30d6907d9baa3f9e9e38a7ec52694c7..c0073eb24949590eeb6f9e6b319ed47099e7d202 100644 |
--- a/ppapi/tests/test_websocket.cc |
+++ b/ppapi/tests/test_websocket.cc |
@@ -572,7 +572,7 @@ std::string TestWebSocket::TestCcInterfaces() { |
ASSERT_TRUE(AreEqualWithString(ws.GetURL().pp_var(), "")); |
// Check communication interfaces (connect, send, receive, and close). |
- ws.SetBinaryType(PP_WEBSOCKETBINARYTYPE_ARRAYBUFFER_DEV); |
+ ASSERT_TRUE(ws.SetBinaryType(PP_WEBSOCKETBINARYTYPE_ARRAYBUFFER_DEV)); |
TestCompletionCallback connect_callback(instance_->pp_instance()); |
int32_t result = ws.Connect(pp::Var(std::string(kCloseServerURL)), NULL, 0U, |
connect_callback); |