Index: remoting/host/video_scheduler.cc |
diff --git a/remoting/host/video_scheduler.cc b/remoting/host/video_scheduler.cc |
index 3e54e5a85cbc5b46269f44e38e118cd3633aceb7..aaa31d18c2763d2f3e8e106db04a6a5d714cc3ef 100644 |
--- a/remoting/host/video_scheduler.cc |
+++ b/remoting/host/video_scheduler.cc |
@@ -122,7 +122,7 @@ void VideoScheduler::OnMouseCursor(webrtc::MouseCursor* cursor) { |
cursor_proto->set_hotspot_x(cursor->hotspot().x()); |
cursor_proto->set_hotspot_y(cursor->hotspot().y()); |
- std::string data; |
+ cursor_proto->set_data(std::string()); |
uint8_t* current_row = cursor->image()->data(); |
for (int y = 0; y < cursor->image()->size().height(); ++y) { |
cursor_proto->mutable_data()->append( |