aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ash_display_mirror__window__controller.cc
blob: 8e2ee608545246b538fc4b85a0b5f7face8396ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ash/display/mirror_window_controller.cc.orig	2021-07-19 18:45:04 UTC
+++ ash/display/mirror_window_controller.cc
@@ -287,7 +287,11 @@ void MirrorWindowController::UpdateWindow(
                          return info.id() == iter->first;
                        }) == display_info_list.end()) {
         CloseAndDeleteHost(iter->second, true);
+#if defined(__llvm__)
+        mirroring_host_info_map_.erase(iter++);
+#else
         iter = mirroring_host_info_map_.erase(iter);
+#endif
       } else {
         ++iter;
       }