Index: webrtc/modules/desktop_capture/win/dxgi_texture_staging.h |
diff --git a/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h b/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h |
index 47f75fa8c13c362c7ebab26b1b6f2be563d2bbbf..3bdf30e21584b78c6dbbf3fc1aee54a60d3d2b71 100644 |
--- a/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h |
+++ b/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h |
@@ -33,15 +33,14 @@ class DxgiTextureStaging : public DxgiTexture { |
public: |
// Creates a DxgiTextureStaging instance. Caller must maintain the lifetime |
// of input device to make sure it outlives this instance. |
- DxgiTextureStaging(const DesktopRect& desktop_rect, const D3dDevice& device); |
+ DxgiTextureStaging(const DesktopSize& desktop_size, const D3dDevice& device); |
~DxgiTextureStaging() override; |
// Copies selected regions of a frame represented by frame_info and resource. |
// Returns false if anything wrong. |
bool CopyFrom(const DXGI_OUTDUPL_FRAME_INFO& frame_info, |
- IDXGIResource* resource, |
- const DesktopRegion& region) override; |
+ IDXGIResource* resource) override; |
bool DoRelease() override; |