Index: remoting/protocol/host_video_dispatcher.cc |
diff --git a/remoting/protocol/host_video_dispatcher.cc b/remoting/protocol/host_video_dispatcher.cc |
index 530b503fc9c8512e0f587f8397fa630d1ed50524..0d7c0de53997277767537159cf5f6165dc823b23 100644 |
--- a/remoting/protocol/host_video_dispatcher.cc |
+++ b/remoting/protocol/host_video_dispatcher.cc |
@@ -20,23 +20,18 @@ HostVideoDispatcher::HostVideoDispatcher() |
parser_( |
base::Bind(&HostVideoDispatcher::OnVideoAck, base::Unretained(this)), |
reader()), |
- video_feedback_stub_(nullptr) { |
-} |
+ video_feedback_stub_(nullptr) {} |
-HostVideoDispatcher::~HostVideoDispatcher() { |
-} |
+HostVideoDispatcher::~HostVideoDispatcher() {} |
void HostVideoDispatcher::ProcessVideoPacket(scoped_ptr<VideoPacket> packet, |
const base::Closure& done) { |
writer()->Write(SerializeAndFrameMessage(*packet), done); |
} |
-void HostVideoDispatcher::OnVideoAck(scoped_ptr<VideoAck> ack, |
- const base::Closure& done) { |
+void HostVideoDispatcher::OnVideoAck(scoped_ptr<VideoAck> ack) { |
if (video_feedback_stub_) |
video_feedback_stub_->ProcessVideoAck(std::move(ack)); |
- |
- done.Run(); |
} |
} // namespace protocol |