| Index: mojo/services/network/http_connection_impl.cc
|
| diff --git a/mojo/services/network/http_connection_impl.cc b/mojo/services/network/http_connection_impl.cc
|
| index 1fb8a4444860a810b9cd8d94f4073e4da8a4a86b..6203c2352482249a6029082221914e9ded65c6c9 100644
|
| --- a/mojo/services/network/http_connection_impl.cc
|
| +++ b/mojo/services/network/http_connection_impl.cc
|
| @@ -150,7 +150,7 @@ class HttpConnectionImpl::WebSocketImpl : public WebSocket {
|
| }
|
|
|
| void Send(bool fin, MessageType type, uint32_t num_bytes) override {
|
| - if (!fin || type != MESSAGE_TYPE_TEXT) {
|
| + if (!fin || type != MessageType::TEXT) {
|
| NOTIMPLEMENTED();
|
| Close();
|
| }
|
| @@ -190,7 +190,7 @@ class HttpConnectionImpl::WebSocketImpl : public WebSocket {
|
| return;
|
|
|
| if (buffer)
|
| - client_->DidReceiveData(true, MESSAGE_TYPE_TEXT, num_bytes);
|
| + client_->DidReceiveData(true, MessageType::TEXT, num_bytes);
|
| }
|
|
|
| // Checks whether Close() has been called.
|
|
|