Index: webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h |
diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h |
index 188fddd006934891cf5d732503bbb752ed608601..a48bda9954bd7e316474aa3701de33a03bf033f6 100644 |
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h |
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h |
@@ -19,6 +19,7 @@ |
#include "webrtc/modules/desktop_capture/desktop_capturer.h" |
#include "webrtc/modules/desktop_capture/desktop_capture_options.h" |
#include "webrtc/modules/desktop_capture/desktop_region.h" |
+#include "webrtc/modules/desktop_capture/resolution_change_detector.h" |
#include "webrtc/modules/desktop_capture/screen_capture_frame_queue.h" |
#include "webrtc/modules/desktop_capture/shared_desktop_frame.h" |
#include "webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.h" |
@@ -61,10 +62,9 @@ class ScreenCapturerWinDirectx : public DesktopCapturer { |
ScreenCaptureFrameQueue<SharedDesktopFrame> frames_; |
std::unique_ptr<SharedMemoryFactory> shared_memory_factory_; |
Callback* callback_ = nullptr; |
- |
DxgiDuplicatorController::Context context_; |
- |
SourceId current_screen_id_ = kFullDesktopScreenId; |
+ ResolutionChangeDetector resolution_change_detector_; |
RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCapturerWinDirectx); |
}; |