Index: remoting/host/capturer_helper.h |
diff --git a/remoting/host/capturer_helper.h b/remoting/host/capturer_helper.h |
index e9479e5635083c4e9aaf3b4064868a2a2f4a8272..10c95db9b1ecb76bc790582d0b6bc95dd8c96f9c 100644 |
--- a/remoting/host/capturer_helper.h |
+++ b/remoting/host/capturer_helper.h |
@@ -7,7 +7,6 @@ |
#include "base/synchronization/lock.h" |
#include "third_party/skia/include/core/SkRegion.h" |
-#include "ui/gfx/size.h" |
namespace remoting { |
@@ -26,7 +25,7 @@ class CapturerHelper { |
void InvalidateRegion(const SkRegion& invalid_region); |
// Invalidate the entire screen, of a given size. |
- void InvalidateScreen(const gfx::Size& size); |
+ void InvalidateScreen(const SkISize& size); |
// Invalidate the entire screen, using the size of the most recently |
// captured screen. |
@@ -36,8 +35,8 @@ class CapturerHelper { |
void SwapInvalidRegion(SkRegion* invalid_region); |
// Access the size of the most recently captured screen. |
- const gfx::Size& size_most_recent() const; |
- void set_size_most_recent(const gfx::Size& size); |
+ const SkISize& size_most_recent() const; |
+ void set_size_most_recent(const SkISize& size); |
private: |
// A region that has been manually invalidated (through InvalidateRegion). |
@@ -49,7 +48,7 @@ class CapturerHelper { |
base::Lock invalid_region_lock_; |
// The size of the most recently captured screen. |
- gfx::Size size_most_recent_; |
+ SkISize size_most_recent_; |
DISALLOW_COPY_AND_ASSIGN(CapturerHelper); |
}; |