Index: remoting/protocol/rtp_reader.h |
diff --git a/remoting/protocol/rtp_reader.h b/remoting/protocol/rtp_reader.h |
index b9a12df50fc5f1379cb57f2e6e8832fbe807a6e8..3fc3983cd1298036fea4ca9bbb3c834b1596c7c7 100644 |
--- a/remoting/protocol/rtp_reader.h |
+++ b/remoting/protocol/rtp_reader.h |
@@ -28,7 +28,7 @@ class RtpReader : public SocketReaderBase { |
// The OnMessageCallback is called whenever a new message is received. |
// Ownership of the message is passed the callback. |
- typedef Callback1<RtpPacket*>::Type OnMessageCallback; |
+ typedef Callback1<const RtpPacket&>::Type OnMessageCallback; |
// Initialize the reader and start reading. Must be called on the thread |
// |socket| belongs to. The callback will be called when a new message is |