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

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

Issue 2319383002: Several minor changes to ScreenCapturerWinMagnifier (Closed)
Patch Set: 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/screen_capturer_win_magnifier.h
diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.h b/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.h
index 1a90791c0365cbb78bca78c670448a9615c0c0f9..e5eebdba46c62251a8a9ddf43f5a98c5b2d80d3b 100644
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.h
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.h
@@ -103,8 +103,6 @@ class ScreenCapturerWinMagnifier : public ScreenCapturer {
// Start the fallback capturer and select the screen.
void StartFallbackCapturer();
- static Atomic32 tls_index_;
-
std::unique_ptr<ScreenCapturer> fallback_capturer_;
bool fallback_capturer_started_ = false;
Callback* callback_ = nullptr;
@@ -113,19 +111,12 @@ class ScreenCapturerWinMagnifier : public ScreenCapturer {
std::wstring current_device_key_;
HWND excluded_window_ = NULL;
- // A thread-safe list of invalid rectangles, and the size of the most
- // recently captured screen.
- ScreenCapturerHelper helper_;
-
// Queue of the frames buffers.
ScreenCaptureFrameQueue<SharedDesktopFrame> queue_;
// Class to calculate the difference between two screen bitmaps.
std::unique_ptr<Differ> differ_;
- // Used to suppress duplicate logging of SetThreadExecutionState errors.
- bool set_thread_execution_state_failed_ = false;
-
ScopedThreadDesktop desktop_;
// Used for getting the screen dpi.

Powered by Google App Engine
This is Rietveld 408576698