| Index: content/browser/renderer_host/media/media_devices_manager.h
|
| diff --git a/content/browser/renderer_host/media/media_devices_manager.h b/content/browser/renderer_host/media/media_devices_manager.h
|
| index 98494214212ac3af1cca8872ecd489f6c71bed25..55acd9ac8d099219e60f9f134de3399ff42cb15e 100644
|
| --- a/content/browser/renderer_host/media/media_devices_manager.h
|
| +++ b/content/browser/renderer_host/media/media_devices_manager.h
|
| @@ -40,8 +40,13 @@ using MediaDeviceEnumeration =
|
| class CONTENT_EXPORT MediaDevicesManager
|
| : public base::SystemMonitor::DevicesChangedObserver {
|
| public:
|
| - // Use MediaDeviceType values to index on this type.
|
| - using BoolDeviceTypes = std::array<bool, NUM_MEDIA_DEVICE_TYPES>;
|
| + // Use MediaDeviceType values to index on this type. By default all device
|
| + // types are false.
|
| + class BoolDeviceTypes final
|
| + : public std::array<bool, NUM_MEDIA_DEVICE_TYPES> {
|
| + public:
|
| + BoolDeviceTypes() { fill(false); }
|
| + };
|
|
|
| using EnumerationCallback =
|
| base::Callback<void(const MediaDeviceEnumeration&)>;
|
|
|