Index: remoting/base/capture_data.h |
diff --git a/remoting/base/capture_data.h b/remoting/base/capture_data.h |
index ae5b89e9b190b27c3534cd9f745ca7ae0bdf2aab..61bc2e877c4468897d6a895bd969a1c35a64a3d6 100644 |
--- a/remoting/base/capture_data.h |
+++ b/remoting/base/capture_data.h |
@@ -11,7 +11,6 @@ |
#include "base/memory/ref_counted.h" |
#include "media/base/video_frame.h" |
#include "third_party/skia/include/core/SkRegion.h" |
-#include "ui/gfx/size.h" |
namespace remoting { |
@@ -28,7 +27,7 @@ struct DataPlanes { |
class CaptureData : public base::RefCountedThreadSafe<CaptureData> { |
public: |
CaptureData(const DataPlanes &data_planes, |
- const gfx::Size& size, |
+ const SkISize& size, |
media::VideoFrame::Format format); |
// Get the data_planes data of the previous capture. |
@@ -38,7 +37,7 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> { |
const SkRegion& dirty_region() const { return dirty_region_; } |
// Return the size of the image captured. |
- gfx::Size size() const { return size_; } |
+ SkISize size() const { return size_; } |
// Get the pixel format of the image captured. |
media::VideoFrame::Format pixel_format() const { return pixel_format_; } |
@@ -63,7 +62,7 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> { |
private: |
const DataPlanes data_planes_; |
SkRegion dirty_region_; |
- gfx::Size size_; |
+ SkISize size_; |
media::VideoFrame::Format pixel_format_; |
// Time spent in capture. Unit is in milliseconds. |