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 2da1600122a010a452697943dda2f31a28929762..47f75fa8c13c362c7ebab26b1b6f2be563d2bbbf 100644 |
--- a/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h |
+++ b/webrtc/modules/desktop_capture/win/dxgi_texture_staging.h |
@@ -58,7 +58,7 @@ class DxgiTextureStaging : public DxgiTexture { |
void AssertStageAndSurfaceAreSameObject(); |
const DesktopRect desktop_rect_; |
- const D3dDevice& device_; |
+ const D3dDevice device_; |
Microsoft::WRL::ComPtr<ID3D11Texture2D> stage_; |
Microsoft::WRL::ComPtr<IDXGISurface> surface_; |
}; |