| Index: remoting/base/encoder_row_based.h
|
| diff --git a/remoting/base/encoder_row_based.h b/remoting/base/encoder_row_based.h
|
| index d453ffb6b8f13f833035cbfdcffe94d77788292b..ab910ea1c5ee29ad2d2682f0c51ca9472cac8bfb 100644
|
| --- a/remoting/base/encoder_row_based.h
|
| +++ b/remoting/base/encoder_row_based.h
|
| @@ -7,8 +7,8 @@
|
|
|
| #include "remoting/base/encoder.h"
|
| #include "remoting/proto/video.pb.h"
|
| -
|
| -#include "ui/gfx/rect.h"
|
| +#include "third_party/skia/include/core/SkRect.h"
|
| +#include "ui/gfx/size.h"
|
|
|
| namespace remoting {
|
|
|
| @@ -41,10 +41,10 @@ class EncoderRowBased : public Encoder {
|
| int packet_size);
|
|
|
| // Encode a single dirty rect using compressor.
|
| - void EncodeRect(const gfx::Rect& rect, bool last);
|
| + void EncodeRect(const SkIRect& rect, bool last);
|
|
|
| // Marks a packet as the first in a series of rectangle updates.
|
| - void PrepareUpdateStart(const gfx::Rect& rect, VideoPacket* packet);
|
| + void PrepareUpdateStart(const SkIRect& rect, VideoPacket* packet);
|
|
|
| // Retrieves a pointer to the output buffer in |update| used for storing the
|
| // encoded rectangle data. Will resize the buffer to |size|.
|
|
|