Update DisplayConfigurator to use c++11 style for-loops
commit53962b5c53a2962ca5b1bf12bb1214d841fd9041
authordnicoara <dnicoara@chromium.org>
Thu, 19 Mar 2015 20:09:19 +0000 (19 13:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 19 Mar 2015 20:09:53 +0000 (19 20:09 +0000)
tree2e425eb1fb4f64459f6d35691b77c6383e9d4b53
parentb814ba0d3921aaf296ebe1b653ab2827f671a7dd
Update DisplayConfigurator to use c++11 style for-loops

This is a formatting change, simplifying the existing code. No
functional change intended.

Also simplified how the DisplayState::selected_mode is populated when
parsing the displays.

BUG=none

Review URL: https://codereview.chromium.org/1026443002

Cr-Commit-Position: refs/heads/master@{#321416}
ui/display/chromeos/display_configurator.cc