Index: blimp/net/engine_authentication_handler.cc |
diff --git a/blimp/net/engine_authentication_handler.cc b/blimp/net/engine_authentication_handler.cc |
index 798ac87936146d4e103a8ed6a5ea505a5090fb40..00b04239aa5ce514be11c71fb9216d00514c107b 100644 |
--- a/blimp/net/engine_authentication_handler.cc |
+++ b/blimp/net/engine_authentication_handler.cc |
@@ -111,7 +111,7 @@ void Authenticator::OnConnectionError(int error) { |
void Authenticator::ProcessMessage(std::unique_ptr<BlimpMessage> message, |
const net::CompletionCallback& callback) { |
- if (message->type() == BlimpMessage::PROTOCOL_CONTROL && |
+ if (message->has_protocol_control() && |
message->protocol_control().type() == |
ProtocolControlMessage::START_CONNECTION) { |
bool token_match = |