Index: webrtc/modules/desktop_capture/win/dxgi_texture.cc |
diff --git a/webrtc/modules/desktop_capture/win/dxgi_texture.cc b/webrtc/modules/desktop_capture/win/dxgi_texture.cc |
index c798631bdcbfbb23c4cb70def9b53fecf4dc93df..9af8a06cd5e009d188c357319485a91a9d20e04a 100644 |
--- a/webrtc/modules/desktop_capture/win/dxgi_texture.cc |
+++ b/webrtc/modules/desktop_capture/win/dxgi_texture.cc |
@@ -19,7 +19,7 @@ namespace { |
class DxgiDesktopFrame : public DesktopFrame { |
public: |
explicit DxgiDesktopFrame(const DxgiTexture& texture) |
- : DesktopFrame(texture.desktop_rect().size(), |
+ : DesktopFrame(texture.desktop_size(), |
texture.pitch(), |
texture.bits(), |
nullptr) {} |
@@ -29,8 +29,8 @@ class DxgiDesktopFrame : public DesktopFrame { |
} // namespace |
-DxgiTexture::DxgiTexture(const DesktopRect& desktop_rect) |
- : desktop_rect_(desktop_rect) {} |
+DxgiTexture::DxgiTexture(const DesktopSize& desktop_size) |
+ : desktop_size_(desktop_size) {} |
DxgiTexture::~DxgiTexture() {} |