Index: mojo/services/network/public/cpp/web_socket_read_queue.h |
diff --git a/mojo/services/network/public/cpp/web_socket_read_queue.h b/mojo/services/network/public/cpp/web_socket_read_queue.h |
index 5ba5fa576fa9e421a15db6fb7d33cc0f1317f1d2..b270892e397cf915d7a59a380262941a7c4f92cc 100644 |
--- a/mojo/services/network/public/cpp/web_socket_read_queue.h |
+++ b/mojo/services/network/public/cpp/web_socket_read_queue.h |
@@ -23,7 +23,8 @@ class WebSocketReadQueue { |
explicit WebSocketReadQueue(DataPipeConsumerHandle handle); |
~WebSocketReadQueue(); |
- void Read(uint32_t num_bytes, base::Callback<void(const char*)> callback); |
+ void Read(uint32_t num_bytes, |
+ const base::Callback<void(const char*)>& callback); |
private: |
struct Operation; |