| 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 3bdf30e21584b78c6dbbf3fc1aee54a60d3d2b71..1be476d2f292d4ee65841a898936829b7f0eb823 100644
|
| --- a/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h
|
| +++ b/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h
|
| @@ -33,18 +33,18 @@ 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 DesktopSize& desktop_size, const D3dDevice& device);
|
| + explicit DxgiTextureStaging(const D3dDevice& device);
|
|
|
| ~DxgiTextureStaging() override;
|
|
|
| - // Copies selected regions of a frame represented by frame_info and resource.
|
| + private:
|
| + // Copies selected regions of a frame represented by frame_info and texture.
|
| // Returns false if anything wrong.
|
| - bool CopyFrom(const DXGI_OUTDUPL_FRAME_INFO& frame_info,
|
| - IDXGIResource* resource) override;
|
| + bool CopyFromTexture(const DXGI_OUTDUPL_FRAME_INFO& frame_info,
|
| + ID3D11Texture2D* texture) override;
|
|
|
| bool DoRelease() override;
|
|
|
| - private:
|
| // Initializes stage_ from a CPU inaccessible IDXGIResource. Returns false if
|
| // it failed to execute Windows APIs, or the size of the texture is not
|
| // consistent with desktop_rect.
|
|
|