Index: remoting/protocol/connection_to_client_unittest.cc |
diff --git a/remoting/protocol/connection_to_client_unittest.cc b/remoting/protocol/connection_to_client_unittest.cc |
index 0d27fee6fda715223ca1033ee6348765a888de12..6dd80f9477b9b39b9d12c1250abab409f4c4e32a 100644 |
--- a/remoting/protocol/connection_to_client_unittest.cc |
+++ b/remoting/protocol/connection_to_client_unittest.cc |
@@ -100,9 +100,8 @@ TEST_F(ConnectionToClientTest, StateChange) { |
session_->state_change_callback().Run(protocol::Session::CLOSED); |
message_loop_.RunAllPending(); |
- EXPECT_CALL(handler_, OnConnectionFailed( |
- viewer_.get(), Session::SESSION_REJECTED)); |
- session_->set_error(Session::SESSION_REJECTED); |
+ EXPECT_CALL(handler_, OnConnectionFailed(viewer_.get(), SESSION_REJECTED)); |
+ session_->set_error(SESSION_REJECTED); |
session_->state_change_callback().Run(protocol::Session::FAILED); |
message_loop_.RunAllPending(); |
} |