| Index: remoting/client/rectangle_update_decoder.h
|
| diff --git a/remoting/client/rectangle_update_decoder.h b/remoting/client/rectangle_update_decoder.h
|
| index 6d46a1efa9739422ab1e09afa44987b6f21bdcd0..b32aecf8f02b1bc951d960bdc906683a6680295e 100644
|
| --- a/remoting/client/rectangle_update_decoder.h
|
| +++ b/remoting/client/rectangle_update_decoder.h
|
| @@ -52,11 +52,12 @@ class RectangleUpdateDecoder
|
| // FrameProducer implementation. These methods may be called before we are
|
| // Initialize()d, or we know the source screen size.
|
| virtual void DrawBuffer(webrtc::DesktopFrame* buffer) OVERRIDE;
|
| - virtual void InvalidateRegion(const SkRegion& region) OVERRIDE;
|
| + virtual void InvalidateRegion(const webrtc::DesktopRegion& region) OVERRIDE;
|
| virtual void RequestReturnBuffers(const base::Closure& done) OVERRIDE;
|
| - virtual void SetOutputSizeAndClip(const SkISize& view_size,
|
| - const SkIRect& clip_area) OVERRIDE;
|
| - virtual const SkRegion* GetBufferShape() OVERRIDE;
|
| + virtual void SetOutputSizeAndClip(
|
| + const webrtc::DesktopSize& view_size,
|
| + const webrtc::DesktopRect& clip_area) OVERRIDE;
|
| + virtual const webrtc::DesktopRegion* GetBufferShape() OVERRIDE;
|
|
|
| // VideoStub implementation.
|
| virtual void ProcessVideoPacket(scoped_ptr<VideoPacket> packet,
|
| @@ -89,14 +90,14 @@ class RectangleUpdateDecoder
|
| scoped_ptr<VideoDecoder> decoder_;
|
|
|
| // Remote screen size in pixels.
|
| - SkISize source_size_;
|
| + webrtc::DesktopSize source_size_;
|
|
|
| // Vertical and horizontal DPI of the remote screen.
|
| - SkIPoint source_dpi_;
|
| + webrtc::DesktopVector source_dpi_;
|
|
|
| // The current dimensions of the frame consumer view.
|
| - SkISize view_size_;
|
| - SkIRect clip_area_;
|
| + webrtc::DesktopSize view_size_;
|
| + webrtc::DesktopRect clip_area_;
|
|
|
| // The drawing buffers supplied by the frame consumer.
|
| std::list<webrtc::DesktopFrame*> buffers_;
|
|
|