Austin Orion
740d704079
Update IsMonitorValid to return false when no displays are found.
...
Versions of Windows before Win11 will crash when `CreateForMonitor` is
called, but the system has no attached displays. This can be avoided by
adding a check to ensure at least one display is found before we return
true in `IsMonitorValid`. Previously we would early return `true` if the
"monitor" we were checking was the `kFullDesktopScreenId`.
Bug: chromium:1316478
Change-Id: I2562fe3834db574cf3706ee1d604472ac03f9ff3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258920
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Austin Orion <auorion@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#36555}
2022-04-14 21:46:29 +00:00
..
2022-04-11 22:34:47 +00:00
2022-03-28 09:25:51 +00:00
2022-04-14 21:46:29 +00:00
2019-04-09 17:18:20 +00:00
2022-03-16 22:06:04 +00:00
2022-03-16 22:06:04 +00:00
2022-04-06 14:23:50 +00:00
2021-10-01 18:23:59 +00:00
2022-01-24 11:50:20 +00:00
2021-08-09 13:12:52 +00:00
2021-11-15 21:44:59 +00:00
2021-10-01 18:23:59 +00:00
2021-08-09 13:12:52 +00:00
2021-09-03 11:28:26 +00:00
2021-08-09 13:12:52 +00:00
2022-03-31 15:30:07 +00:00
2022-03-31 15:30:07 +00:00
2022-03-31 15:30:07 +00:00
2021-04-13 23:30:52 +00:00
2021-04-13 23:30:52 +00:00
2022-01-21 19:14:37 +00:00
2022-03-16 22:06:04 +00:00
2022-04-08 18:16:38 +00:00
2021-08-09 13:12:52 +00:00
2022-03-31 15:30:07 +00:00
2022-03-31 15:30:07 +00:00
2017-09-15 18:56:26 +00:00
2018-11-28 18:25:07 +00:00
2022-04-08 18:16:38 +00:00
2022-03-31 15:30:07 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2018-11-28 18:25:07 +00:00
2021-11-15 21:44:59 +00:00
2021-08-09 13:12:52 +00:00
2019-09-17 15:47:29 +00:00
2021-09-22 23:49:50 +00:00
2022-01-27 12:55:44 +00:00
2021-04-09 20:48:32 +00:00
2022-01-24 11:50:20 +00:00
2019-08-21 07:55:07 +00:00
2021-08-09 13:12:52 +00:00
2019-07-08 13:45:15 +00:00
2021-08-10 10:40:03 +00:00
2021-08-09 13:12:52 +00:00
2018-11-28 18:25:07 +00:00
2020-09-07 08:44:24 +00:00
2021-08-09 13:12:52 +00:00
2018-06-19 14:00:39 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2019-07-08 13:45:15 +00:00
2021-08-09 13:12:52 +00:00
2018-12-22 00:10:40 +00:00
2019-12-03 19:17:24 +00:00
2022-01-24 11:50:20 +00:00
2019-12-03 19:17:24 +00:00
2022-01-24 11:50:20 +00:00
2022-01-24 11:50:20 +00:00
2022-02-15 23:03:41 +00:00
2021-12-09 12:56:11 +00:00
2019-07-08 13:45:15 +00:00
2021-07-22 14:00:26 +00:00
2021-07-22 14:00:26 +00:00
2021-08-09 13:12:52 +00:00
2021-07-09 07:49:43 +00:00
2022-01-24 11:50:20 +00:00
2021-11-09 23:02:32 +00:00
2021-08-09 13:12:52 +00:00
2018-11-28 18:25:07 +00:00
2019-07-08 13:45:15 +00:00
2021-08-09 13:12:52 +00:00
2022-01-24 11:50:20 +00:00
2018-04-10 00:37:59 +00:00
2019-04-09 17:18:20 +00:00
2021-08-09 13:12:52 +00:00
2022-01-24 11:50:20 +00:00
2022-01-27 12:55:44 +00:00
2022-01-21 19:14:37 +00:00
2019-04-09 17:18:20 +00:00
2022-01-24 11:50:20 +00:00
2021-08-09 13:12:52 +00:00
2021-12-14 03:20:34 +00:00
2021-11-15 21:44:59 +00:00
2019-09-17 15:47:29 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2022-01-18 08:22:15 +00:00
2022-01-24 11:50:20 +00:00
2018-06-19 14:00:39 +00:00
2022-01-24 11:50:20 +00:00
2019-12-16 09:57:59 +00:00
2018-11-28 18:25:07 +00:00
2021-08-09 13:12:52 +00:00
2022-01-21 19:14:37 +00:00
2022-01-24 11:50:20 +00:00
2022-01-27 12:55:44 +00:00
2021-07-08 08:11:50 +00:00
2022-03-16 22:06:04 +00:00
2019-01-25 20:29:58 +00:00
2019-12-03 19:17:24 +00:00
2021-12-14 03:20:34 +00:00
2019-09-17 15:47:29 +00:00
2017-11-07 01:49:35 +00:00
2021-08-09 13:12:52 +00:00