| Index: remoting/host/capturer_fake_ascii.cc
|
| diff --git a/remoting/host/capturer_fake_ascii.cc b/remoting/host/capturer_fake_ascii.cc
|
| index e24bebd0d218cf1c64f0d960489f64c98efc43eb..f2bb5d201c63aee379472d21fb5a9e89b4026bd3 100644
|
| --- a/remoting/host/capturer_fake_ascii.cc
|
| +++ b/remoting/host/capturer_fake_ascii.cc
|
| @@ -4,8 +4,6 @@
|
|
|
| #include "remoting/host/capturer_fake_ascii.h"
|
|
|
| -#include "ui/gfx/rect.h"
|
| -
|
| namespace remoting {
|
|
|
| static const int kWidth = 32;
|
| @@ -45,7 +43,7 @@ void CapturerFakeAscii::InvalidateRegion(const SkRegion& invalid_region) {
|
| helper_.InvalidateRegion(invalid_region);
|
| }
|
|
|
| -void CapturerFakeAscii::InvalidateScreen(const gfx::Size& size) {
|
| +void CapturerFakeAscii::InvalidateScreen(const SkISize& size) {
|
| helper_.InvalidateScreen(size);
|
| }
|
|
|
| @@ -63,14 +61,14 @@ void CapturerFakeAscii::CaptureInvalidRegion(
|
| current_buffer_ = (current_buffer_ + 1) % kNumBuffers;
|
| planes.strides[0] = bytes_per_row_;
|
| scoped_refptr<CaptureData> capture_data(new CaptureData(
|
| - planes, gfx::Size(width_, height_), pixel_format_));
|
| + planes, SkISize::Make(width_, height_), pixel_format_));
|
|
|
| helper_.set_size_most_recent(capture_data->size());
|
|
|
| callback->Run(capture_data);
|
| }
|
|
|
| -const gfx::Size& CapturerFakeAscii::size_most_recent() const {
|
| +const SkISize& CapturerFakeAscii::size_most_recent() const {
|
| return helper_.size_most_recent();
|
| }
|
|
|
|
|