Jeroen Dhollander
77d987a724
Fix crash when resizing the display
...
This crash happened when:
* The cursor was located in the corner
* The screen was resized so that the cursor position is outside of the frame.
This caused us to add out-of-bound coordinates to the frame's updated_region, which caused crashes further down the pipeline.
Bug: chromium:1323241
Test: new unittest
Test: manually reproduced crash
Change-Id: Ie71db58c8a347f00af8a3803fcd55cdcad6eafac
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/261263
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Jeroen Dhollander <jeroendh@google.com>
Cr-Commit-Position: refs/heads/main@{#36809}
2022-05-09 09:15:24 +00:00
..
2022-05-05 18:15:08 +00:00
2022-03-28 09:25:51 +00:00
2022-05-06 23:46:42 +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-05-06 23:46:42 +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
2022-05-09 09:15:24 +00:00
2022-05-09 09:15:24 +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
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
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
2022-04-21 07:53:44 +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
2020-09-07 08:44:24 +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
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
2019-07-08 13:45:15 +00:00
2021-08-09 13:12:52 +00:00
2022-01-24 11:50:20 +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
2022-01-24 11:50:20 +00:00
2019-12-16 09:57:59 +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-04-15 23:41:16 +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
2021-08-09 13:12:52 +00:00