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

Unified Diff: media/capture/content/screen_capture_device_core.h

Issue 2692393002: Tab/Desktop capture: Fix for super-old frame after resume. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | media/capture/content/screen_capture_device_core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/content/screen_capture_device_core.h
diff --git a/media/capture/content/screen_capture_device_core.h b/media/capture/content/screen_capture_device_core.h
index 60faf27e3fc9f51417f19bd0a62dc022fe743036..60b99e09ee841881ca877a25f5e8c4289a03eefd 100644
--- a/media/capture/content/screen_capture_device_core.h
+++ b/media/capture/content/screen_capture_device_core.h
@@ -122,6 +122,12 @@ class CAPTURE_EXPORT ScreenCaptureDeviceCore
// component of the system with direct access to |client_|.
scoped_refptr<ThreadSafeCaptureOracle> oracle_proxy_;
+ // After Resume(), some unknown amount of time has passed, and the content of
+ // the capture source may have changed. This flag is used to ensure that the
+ // passive refresh mechanism is not used for the first refresh frame following
+ // a Resume().
+ bool force_active_refresh_once_;
+
DISALLOW_COPY_AND_ASSIGN(ScreenCaptureDeviceCore);
};
« no previous file with comments | « no previous file | media/capture/content/screen_capture_device_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698