aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-ash_display_mirror__window__controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-ash_display_mirror__window__controller.cc')
-rw-r--r--www/iridium/files/patch-ash_display_mirror__window__controller.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/iridium/files/patch-ash_display_mirror__window__controller.cc b/www/iridium/files/patch-ash_display_mirror__window__controller.cc
index 663486914e6d..2496639afee7 100644
--- a/www/iridium/files/patch-ash_display_mirror__window__controller.cc
+++ b/www/iridium/files/patch-ash_display_mirror__window__controller.cc
@@ -1,8 +1,8 @@
---- ash/display/mirror_window_controller.cc.orig 2022-04-01 07:48:30 UTC
+--- ash/display/mirror_window_controller.cc.orig 2022-12-01 10:35:46 UTC
+++ ash/display/mirror_window_controller.cc
-@@ -296,7 +296,11 @@ void MirrorWindowController::UpdateWindow(
- return info.id() == iter->first;
- }) == display_info_list.end()) {
+@@ -295,7 +295,11 @@ void MirrorWindowController::UpdateWindow(
+ if (!base::Contains(display_info_list, iter->first,
+ &display::ManagedDisplayInfo::id)) {
CloseAndDeleteHost(iter->second, true);
+#if defined(__llvm__)
+ mirroring_host_info_map_.erase(iter++);