Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Unified Diff: webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc

Issue 2479553006: Remove GetWindowList / GetScreenList and SelectWindow / SelectScreen from WebRTC (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698