Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: webrtc/modules/desktop_capture/win/dxgi_texture_staging.h

Issue 2345163002: Several minor improvements of DirectX capturer (Closed)
Patch Set: Resolve review comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
};

Powered by Google App Engine
This is Rietveld 408576698