Index: webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc |
diff --git a/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc b/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc |
index 451acb3db5ed80621b19652f97b272416fb73eaa..c81e48ae3d8f8ebc48462ccd98906cde90f60586 100644 |
--- a/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc |
+++ b/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc |
@@ -157,7 +157,7 @@ CGWindowID FullScreenChromeWindowDetector::FindFullScreenWindow( |
if (full_screen_window_id == kCGNullWindowID) |
return kCGNullWindowID; |
- for (WindowCapturer::WindowList::iterator it = previous_window_list_.begin(); |
+ for (auto it = previous_window_list_.begin(); |
Sergey Ulanov
2016/11/07 20:20:56
replace this with a range loop?
Hzj_jie
2016/11/07 23:00:18
Done.
|
it != previous_window_list_.end(); ++it) { |
if (static_cast<CGWindowID>(it->id) != full_screen_window_id) |
continue; |