DescriptionDon't assume gfx::Screen::GetNumDisplays() == GetAllDisplays().size().
It is safer to use the C++11 foreach operator to iterate over this
vector. On Windows gfx::ScreenWin gets the the display count from a
different place from the display list.
BUG=427931
Committed: https://crrev.com/dbd94f7916ed11a14deddaa53db6f84ce5fd1b57
Cr-Commit-Position: refs/heads/master@{#302416}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|