Index: remoting/host/video_scheduler.cc |
diff --git a/remoting/host/video_scheduler.cc b/remoting/host/video_scheduler.cc |
index 3e54e5a85cbc5b46269f44e38e118cd3633aceb7..b1ba65b5189ae0735a969633d93f4412bf796791 100644 |
--- a/remoting/host/video_scheduler.cc |
+++ b/remoting/host/video_scheduler.cc |
@@ -121,8 +121,8 @@ void VideoScheduler::OnMouseCursor(webrtc::MouseCursor* cursor) { |
cursor_proto->set_height(cursor->image()->size().height()); |
cursor_proto->set_hotspot_x(cursor->hotspot().x()); |
cursor_proto->set_hotspot_y(cursor->hotspot().y()); |
+ cursor_proto->set_data(std::string()); |
kelvinp
2015/01/06 02:22:18
Always initializes with empty data. Or else Clien
Sergey Ulanov
2015/01/06 18:52:10
nit: add an empty line above this one and remove i
kelvinp
2015/01/06 22:04:14
Done.
|
- std::string data; |
uint8_t* current_row = cursor->image()->data(); |
for (int y = 0; y < cursor->image()->size().height(); ++y) { |
cursor_proto->mutable_data()->append( |