Index: remoting/client/chromoting_client.h |
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h |
index 66b22deaa8d9f97a1f52a04f15deb209ba43c07f..fb4ef24b7c9bf1f61217897b64c2de536f72f9a0 100644 |
--- a/remoting/client/chromoting_client.h |
+++ b/remoting/client/chromoting_client.h |
@@ -55,13 +55,14 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
protocol::ErrorCode error) OVERRIDE; |
// VideoStub implementation. |
- virtual void ProcessVideoPacket(const VideoPacket* packet, |
+ virtual void ProcessVideoPacket(scoped_ptr<VideoPacket> packet, |
const base::Closure& done) OVERRIDE; |
virtual int GetPendingPackets() OVERRIDE; |
private: |
struct QueuedVideoPacket { |
- QueuedVideoPacket(const VideoPacket* packet, const base::Closure& done); |
+ QueuedVideoPacket(scoped_ptr<VideoPacket> packet, |
+ const base::Closure& done); |
~QueuedVideoPacket(); |
const VideoPacket* packet; |
base::Closure done; |