Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1106)

Unified Diff: remoting/protocol/client_video_dispatcher.cc

Issue 1649063003: Add MessagePipe interface. Use it in ChannelDispatcherBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simple_parser
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/client_video_dispatcher.cc
diff --git a/remoting/protocol/client_video_dispatcher.cc b/remoting/protocol/client_video_dispatcher.cc
index f82b7bd74f77762fb7ac49af9ea7f965bd3f8e8f..7fbe9f38e24518b17cec283e589ff8b435dd03c4 100644
--- a/remoting/protocol/client_video_dispatcher.cc
+++ b/remoting/protocol/client_video_dispatcher.cc
@@ -66,7 +66,7 @@ void ClientVideoDispatcher::OnPacketDone(
while (!pending_frames_.empty() && pending_frames_.front().done) {
VideoAck ack_message;
ack_message.set_frame_id(pending_frames_.front().frame_id);
- writer()->Write(SerializeAndFrameMessage(ack_message), base::Closure());
+ message_pipe()->Send(&ack_message, base::Closure());
pending_frames_.pop_front();
}
}

Powered by Google App Engine
This is Rietveld 408576698