Index: remoting/host/capturer_fake.cc |
diff --git a/remoting/host/capturer_fake.cc b/remoting/host/capturer_fake.cc |
index 717e0adfaa690078cfbb21a0c6d58b37bacc6f01..88bac101d5269af41d50492137c20efbfaf8325f 100644 |
--- a/remoting/host/capturer_fake.cc |
+++ b/remoting/host/capturer_fake.cc |
@@ -4,8 +4,6 @@ |
#include "remoting/host/capturer_fake.h" |
-#include "ui/gfx/rect.h" |
- |
namespace remoting { |
// CapturerFake generates a white picture of size kWidth x kHeight with a |
@@ -39,7 +37,7 @@ CapturerFake::~CapturerFake() { |
} |
void CapturerFake::ScreenConfigurationChanged() { |
- size_ = gfx::Size(kWidth, kHeight); |
+ size_ = SkISize::Make(kWidth, kHeight); |
bytes_per_row_ = size_.width() * kBytesPerPixel; |
pixel_format_ = media::VideoFrame::RGB32; |
@@ -62,7 +60,7 @@ void CapturerFake::InvalidateRegion(const SkRegion& invalid_region) { |
helper.InvalidateRegion(invalid_region); |
} |
-void CapturerFake::InvalidateScreen(const gfx::Size& size) { |
+void CapturerFake::InvalidateScreen(const SkISize& size) { |
helper.InvalidateScreen(size); |
} |
@@ -94,7 +92,7 @@ void CapturerFake::CaptureInvalidRegion(CaptureCompletedCallback* callback) { |
callback->Run(capture_data); |
} |
-const gfx::Size& CapturerFake::size_most_recent() const { |
+const SkISize& CapturerFake::size_most_recent() const { |
return helper.size_most_recent(); |
} |