Index: remoting/host/mouse_clamping_filter.cc |
diff --git a/remoting/host/mouse_clamping_filter.cc b/remoting/host/mouse_clamping_filter.cc |
index db01c103b2aa0372647985c642ce745ff3b3ae48..91462fa307f1a88dd8edeafcee35f553f60b3c50 100644 |
--- a/remoting/host/mouse_clamping_filter.cc |
+++ b/remoting/host/mouse_clamping_filter.cc |
@@ -24,8 +24,9 @@ void MouseClampingFilter::ProcessVideoPacket( |
// Configure the MouseInputFilter to clamp to the video dimensions. |
if (video_packet->format().has_screen_width() && |
video_packet->format().has_screen_height()) { |
- SkISize screen_size = SkISize::Make(video_packet->format().screen_width(), |
- video_packet->format().screen_height()); |
+ webrtc::DesktopSize screen_size = |
+ webrtc::DesktopSize(video_packet->format().screen_width(), |
+ video_packet->format().screen_height()); |
input_filter_.set_input_size(screen_size); |
input_filter_.set_output_size(screen_size); |
} |