Index: webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc |
diff --git a/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc b/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc |
index 741d5dad3fb8441b88c2ab8a91b7c33b12efe38e..21453b28ef5fd3999c9e3fffd3d4153b2a24d4d9 100644 |
--- a/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc |
+++ b/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc |
@@ -23,6 +23,7 @@ |
#include "webrtc/modules/desktop_capture/win/dxgi_texture_staging.h" |
#include "webrtc/rtc_base/checks.h" |
#include "webrtc/rtc_base/logging.h" |
+#include "webrtc/rtc_base/win32.h" |
namespace webrtc { |
@@ -64,6 +65,7 @@ DxgiOutputDuplicator::DxgiOutputDuplicator(const D3dDevice& device, |
const DXGI_OUTPUT_DESC& desc) |
: device_(device), |
output_(output), |
+ device_name_(rtc::ToUtf8(desc.DeviceName)), |
desktop_rect_(RECTToDesktopRect(desc.DesktopCoordinates)) { |
RTC_DCHECK(output_); |
RTC_DCHECK(!desktop_rect_.is_empty()); |