| Index: remoting/protocol/client_video_dispatcher.cc
|
| diff --git a/remoting/protocol/client_video_dispatcher.cc b/remoting/protocol/client_video_dispatcher.cc
|
| index bca586c38d32aab8712cd59ed51718ec10af5582..287bba329cab9ee428d4a87b2a5f850499f27910 100644
|
| --- a/remoting/protocol/client_video_dispatcher.cc
|
| +++ b/remoting/protocol/client_video_dispatcher.cc
|
| @@ -15,16 +15,13 @@ namespace protocol {
|
|
|
| ClientVideoDispatcher::ClientVideoDispatcher(VideoStub* video_stub)
|
| : ChannelDispatcherBase(kVideoChannelName),
|
| - video_stub_(video_stub) {
|
| + parser_(base::Bind(&VideoStub::ProcessVideoPacket,
|
| + base::Unretained(video_stub)),
|
| + reader()) {
|
| }
|
|
|
| ClientVideoDispatcher::~ClientVideoDispatcher() {
|
| }
|
|
|
| -void ClientVideoDispatcher::OnInitialized() {
|
| - reader_.Init(channel(), base::Bind(&VideoStub::ProcessVideoPacket,
|
| - base::Unretained(video_stub_)));
|
| -}
|
| -
|
| } // namespace protocol
|
| } // namespace remoting
|
|
|