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

Unified Diff: remoting/host/event_executor_win.cc

Issue 3305001: Move decoder into separate thread, clean up API layering, and redo update protocl (Closed)
Patch Set: Fix compile error. Created 10 years, 2 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
« no previous file with comments | « remoting/host/client_connection.cc ('k') | remoting/host/session_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/event_executor_win.cc
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc
index e9c96edd2caafaf33a68823aeb082a627c64e9dc..24aa84178b39e4c24c1e343c222bbf7b7d686d75 100644
--- a/remoting/host/event_executor_win.cc
+++ b/remoting/host/event_executor_win.cc
@@ -356,8 +356,10 @@ EventExecutorWin::~EventExecutorWin() {
}
void EventExecutorWin::HandleInputEvents(ClientMessageList* messages) {
- for (size_t i = 0; i < messages->size(); ++i) {
- ChromotingClientMessage* msg = (*messages)[i];
+ for (ClientMessageList::iterator it = messages->begin();
+ it != messages->end();
+ ++it) {
+ ChromotingClientMessage* msg = *it;
if (msg->has_mouse_set_position_event()) {
HandleMouseSetPosition(msg);
} else if (msg->has_mouse_move_event()) {
« no previous file with comments | « remoting/host/client_connection.cc ('k') | remoting/host/session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698