summaryrefslogtreecommitdiffstats
path: root/remoting/client/x11_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/x11_view.cc')
-rw-r--r--remoting/client/x11_view.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/remoting/client/x11_view.cc b/remoting/client/x11_view.cc
index 267ae336..e40891a 100644
--- a/remoting/client/x11_view.cc
+++ b/remoting/client/x11_view.cc
@@ -157,8 +157,8 @@ void X11View::InitPaintTarget() {
CHECK(picture_) << "Backing picture not created";
}
-void X11View::HandleBeginUpdateStream(HostMessage* msg) {
- scoped_ptr<HostMessage> deleter(msg);
+void X11View::HandleBeginUpdateStream(ChromotingHostMessage* msg) {
+ scoped_ptr<ChromotingHostMessage> deleter(msg);
// Make sure the |frame_| is initialized.
if (!frame_) {
@@ -170,7 +170,7 @@ void X11View::HandleBeginUpdateStream(HostMessage* msg) {
}
}
-void X11View::HandleUpdateStreamPacket(HostMessage* msg) {
+void X11View::HandleUpdateStreamPacket(ChromotingHostMessage* msg) {
// Lazily initialize the decoder.
SetupDecoder(msg->update_stream_packet().begin_rect().encoding());
if (!decoder_->IsStarted()) {
@@ -181,8 +181,8 @@ void X11View::HandleUpdateStreamPacket(HostMessage* msg) {
Decode(msg);
}
-void X11View::HandleEndUpdateStream(HostMessage* msg) {
- scoped_ptr<HostMessage> deleter(msg);
+void X11View::HandleEndUpdateStream(ChromotingHostMessage* msg) {
+ scoped_ptr<ChromotingHostMessage> deleter(msg);
EndDecoding();
}