Index: content/browser/renderer_host/media/video_capture_device_client.h |
diff --git a/content/browser/renderer_host/media/video_capture_device_client.h b/content/browser/renderer_host/media/video_capture_device_client.h |
index 2d6cccc8b2c9db32a6463231e94bc96be25f3f31..aaa02ffae630d005ee505b0d852e6a558f69ab75 100644 |
--- a/content/browser/renderer_host/media/video_capture_device_client.h |
+++ b/content/browser/renderer_host/media/video_capture_device_client.h |
@@ -103,6 +103,12 @@ class CONTENT_EXPORT VideoCaptureDeviceClient |
// The pool of shared-memory buffers used for capturing. |
const scoped_refptr<VideoCaptureBufferPool> buffer_pool_; |
+#if DCHECK_IS_ON() |
+ // Counter used to track the number of times consecutive capture buffers are |
+ // dropped. |
+ uint32_t dropped_frame_counter_ = 0; |
+#endif // DCHECK_IS_ON() |
+ |
// Indication to the Client to copy-transform the incoming data into |
// GpuMemoryBuffers. |
const bool use_gpu_memory_buffers_; |